This project is read-only.

Changing Player.Source doesn't update scrubber info with new movie-length

Topics: Windows 8 Xaml
Sep 14, 2012 at 4:54 PM
Edited Sep 14, 2012 at 5:04 PM

On launch of my App I initialize in XAML my Movieplayer:

<mmppf:MediaPlayer x:Name="player" AutoLoadPlugins="False" AutoLoad="False" MediaEnded="player_MediaEnded_1"/>

In my codebehind I initialize the source by doing:

player.Source = new Uri(new Uri("ms-appx:///"), "Assets/video/Teaser.m4v");

This movie has a lenght of 1 minute and it's possible to do scrubbing on it. But, when later, I update the source to the full movie (45 minutes length), I get a new movie starting to play. But I can only scrub the first minute. Everything after the first minute can not be reached by scrubbing... Does anyone know what I'm doing wrong here?

Sep 16, 2012 at 5:25 PM

Thanks for reporting this, the fix will be included in the next update (which we are hoping to release early this week).