XamarinCommunityToolkit
XamarinCommunityToolkit copied to clipboard
[Bug] MediaElement doesn't play to the new position if we change the Position property via code in Android
Description
MediaElement doesn't play to the new position if we change the Position property via code like this one var seconds = TimeSpan.FromSeconds(newValue);
Steps to Reproduce
- Run the reproduction project.
- Slide the XF Slider to get new position or value to the end of video.
- Issue occured.
Expected Behavior
The mediaelement will play to the new position
Actual Behavior
The medialement goes back to 0:00 or beginning of the video
Basic Information
-
Version with issue: Xamarin.Forms 5.0.0.1931 Xamarin.CommunityToolkit 1.0.2
-
IDE:
- Android: Xamarin 16.8.000.260 Xamarin.Android.SDK 11.1.0.17 VStudio 2019 16.8.3
Workaround
NA
Reproduction Link
Attached MediaSeekBug.zip
I've created a repository showcasing some of the MediaElement bugs, including this one: https://github.com/ewerspej/MediaCustomTransport