On the MediaElement control on Android, my custom position bar doesn't work. However, it does work on iOS.
This is all because setting MediaElement.Position on Android doesn't actually update the Position value. I confirmed this with the following code:
// Set position to 1 min
mediaElement.Position = new TimeSpan(0,1,0);
The Position property doesn't change after running this code on Android.
Slider is draggable and the video plays from the new seek point.
Slider is draggable but the video keeps on playing from the beginning.
It looks like we don't call SeekTo on Android when the position is set.
Ran into this in Hanselman.Forms
Is there any workaround available?
Tried implementing via: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/mediaelement#implement-a-custom-position-bar
Seems the custom position bar code example provided isn't working on Android, suspect this is the core issue.
I think this might be fixed by #381
Most helpful comment
It looks like we don't call SeekTo on Android when the position is set.
Ran into this in Hanselman.Forms