Oct 21, 2013 at 1:17 PM
Edited Oct 21, 2013 at 1:23 PM
Finally I found a solution.
In MediaSeekingElement.cs I changed PlayerSetMediaPosition() to:
private void PlayerSetMediaPosition()
var position = MediaPosition;
// if (MediaPlayerBase.Dispatcher.Shutdown ||
MediaPlayerBase.Dispatcher.BeginInvoke((Action) (() => MediaSeekingPlayer.MediaPosition = position));
System.Diagnostics.Debug.WriteLine("WMK PlayerSetMediaPosition EXCEPTION: "+ex.Message);
Not sure if it is because I'm using .NET4 but either way it works perfectly now.
Why the dispatcher is shutting down at that point I have no idea. My app certainly isn't shutting down at that point.
... the try..catch() may not catch the Delegate code but anyway I've had no problems.