Feb 26, 2014 at 2:50 PM
Edited Feb 26, 2014 at 2:53 PM
I am using the player to play back a Smooth Streaming PlayReady stream.
Using the default player, when the stream ends, the Play button gets dimmed and clicking on it will not restart the stream at the beginning.
I tried to re-create the Playlist in the PlayStateChanged event like below:
private void PlayStateChanged(...)
if (e.Value == MediaPluginState.Closed)
var currentItem = this.CurrentPlaylistItem;
this.Playlist = new System.Collections.ObjectModel.ObservableCollection<Microsoft.SilverlightMediaFramework.Core.Media.PlaylistItem>();
But that doesn't work either. If I uncomment the this.Play(), the stream will automatically replay the stream from the beginning. But I want the replay to be manually triggered by clicking the Play button.
Anyone has done this before?