This is a migrated thread and some comments may be shown as answers.

how to specify what buttons show on the player

2 Answers 77 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Scott Laughton
Top achievements
Rank 1
Scott Laughton asked on 09 Mar 2009, 12:31 PM
Hi there,
        How can I specify what buttons will show on the player.  For instance, how can I specify that only the play/pause button should show? And make it so that no other buttons including the Show Play List/Chapters button will show.

BTW:
Here is my setup:
 - RadControls for Silverlight 2008 3 1217
 - Microsoft Visual Studio 2008 Version 9.0.30729.1 SP
 - Microsoft .NET Framework Version 3.5 SP1
 - Windows XP Pro x64

Regards,

    Scott.

2 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 12 Mar 2009, 04:11 PM
Hi Scott Laughton,

What you need to do, to remove buttons from the MediaPlayer control, is to change its control template. I'm attaching an example in which the play/pause button is hidden.
Hope this helps.

Regards,
Miroslav Nedyalkov
0
Scott Laughton
Top achievements
Rank 1
answered on 13 Mar 2009, 04:13 AM
Miroslav,
    Perfect.  Thanks for the example!

Regards,

    Scott.
Tags
MediaPlayer
Asked by
Scott Laughton
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Scott Laughton
Top achievements
Rank 1
Share this question
or