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

Adding and Removing MediaItems programattically

1 Answer 50 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Eric Wilson
Top achievements
Rank 1
Eric Wilson asked on 30 Jun 2009, 06:03 AM
Hello,

I cannot seem to get the mediaplayer to remove Mediaitems that are added programmatically.  I am looking to create the same functionality that is on the MediaPlayer demo on the main silverlight controls demo screen.  The functionality is adding a radmediaitem after an item is selected in the coverflow.  Then if another item is selected in the coverflow I would like the previous RadMediaItem removed and to add another one.  It seems to always play the first item I had in the player no matter what other mediaitems I load and even if I remove the original item, at least I think I am removing it?

Thanks

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 01 Jul 2009, 02:22 PM
Hi Eric,

I have created a sample project demonstrating the interaction between RadMediaPlayer and RadCoverFlow.
In this sample I am using MIX 2009 videos. Every time an item from RadCoverFlow has been selected, RadMediaPlayer removes its previous item and the adds the newly created item.
Have a look at the sample and if you have additional questions or comments, let us know.

Kind regards,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
MediaPlayer
Asked by
Eric Wilson
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or