This project is read-only.

How to Enable Video Replay on windows phone 8?

Topics: Windows Phone 8
Oct 1, 2013 at 12:22 AM
After much suffering I finally made the media player to play streaming video from azure but the media player does not replay the video at the end of this.

I tried to use the next fragment of code but this doesn't work:
mediaPlayerBreaker.MediaEnded += mediaPlayerBreaker_MediaEnded;

 void mediaPlayerBreaker_MediaEnded(object sender, Microsoft.PlayerFramework.MediaPlayerActionEventArgs e)
            if (mediaPlayerBreaker.IsReplayAllowed == true)
                mediaPlayerBreaker.IsReplayVisible = true;
So I wonder if anyone knows, How to enable video replay?
Oct 7, 2013 at 10:24 PM
You can cause the video to automatically repeat by setting MediaPlayer.IsLooping = true.

Hope this helps, Tim

fyi: IsReplayVisible is to show the "instant replay" button in the control panel which when clicked causes the video to skip back in time a few seconds.