Adding and Removing MediaItems programattically

2 posts, 0 answers
  1. Eric Wilson
    Eric Wilson avatar
    4 posts
    Member since:
    Apr 2009

    Posted 30 Jun 2009 Link to this post


    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?

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1508 posts

    Posted 01 Jul 2009 Link to this post

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top