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

How to MediaPlayer and playlist together on screen

3 Answers 83 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Thomas Van Deun
Top achievements
Rank 1
Thomas Van Deun asked on 17 Sep 2009, 07:21 AM
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.

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 18 Sep 2009, 01:23 PM
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.
0
Fred
Top achievements
Rank 1
answered on 19 Nov 2014, 07:59 AM
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...
0
Pavel R. Pavlov
Telerik team
answered on 21 Nov 2014, 11:33 AM
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.

 
Tags
MediaPlayer
Asked by
Thomas Van Deun
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Fred
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or