How to MediaPlayer and playlist together on screen

4 posts, 0 answers
  1. Thomas Van Deun
    Thomas Van Deun avatar
    1 posts
    Member since:
    Sep 2009

    Posted 17 Sep 2009 Link to this post

    Is there a possibility do to that ?
    I am a newbee in silverlight programming. (VB.net)
    I have no idea how to do this.
    I want the mediaplayer and playlist at the same time on screen.

    thanks in advance.
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 18 Sep 2009 Link to this post

    Hi Thomas,

    There are couple of approaches you can take when implementing this scenario. First of all, you could edit the ControlTemplate of RadMediaPlayer in Expression Blend and change the position of the Playlist to wherever you like. For example, you could add a Grid with 2 columns. In the first column will be the media player and in the second column will be the playlist. For a more detailed explanation please refer to the attached image(blend-screenshot.png) and sample project (mediaplayerplaylist-controltemplate.zip). The sample project is a C# project, but it is only XAML code and no C# code, so I assume it would be no problem.

    The other approach is to create an external playlist (ListBox for example) and every time the selection changes, to feed the media player with an item. For more detailed explanation, please take a look at the attached sample project (mediaplayerexternalplaylist.zip).

    If you have additional questions, let us know.

    Best wishes,
    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Fred
    Fred avatar
    1 posts
    Member since:
    Aug 2014

    Posted 19 Nov 2014 in reply to Kiril Stanoev Link to this post

    I reviewed the control template version that was uploaded, and I noted that was out of date. I would love to see a working version of this. I did create a similar one using the windows listbox and media player element. However, I would like to learn a bit more about the control template approach. I learn by seeing and doing...
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 21 Nov 2014 Link to this post

    Hello Fred,

    As you can see the post of Kiril Stanoev is from 2009. Till now we have changed the default ControlTemplate of the RadMediaPlayer. This is why it would be better to start over with the new ControlTemplate. You can implement the already mentioned approach in the new template. You can find out how you can edit the default Template in this article.

    Please try to customize the ControlTemplate and let us know if you encounter any difficulties.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top