how to specify what buttons show on the player

3 posts, 1 answers
  1. Scott Laughton
    Scott Laughton avatar
    12 posts
    Member since:
    May 2006

    Posted 09 Mar 2009 Link to this post

    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. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 12 Mar 2009 Link to this post

    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
  3. DevCraft banner
  4. Scott Laughton
    Scott Laughton avatar
    12 posts
    Member since:
    May 2006

    Posted 12 Mar 2009 Link to this post

    Miroslav,
        Perfect.  Thanks for the example!

    Regards,

        Scott.
Back to Top