XamarinCommunityToolkit icon indicating copy to clipboard operation
XamarinCommunityToolkit copied to clipboard

[Bug] MediaElement doesn't play to the new position if we change the Position property via code in Android

Open AlfonChitoSalano opened this issue 4 years ago • 1 comments

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

  1. Run the reproduction project.
  2. Slide the XF Slider to get new position or value to the end of video.
  3. 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

AlfonChitoSalano avatar Feb 11 '21 07:02 AlfonChitoSalano

I've created a repository showcasing some of the MediaElement bugs, including this one: https://github.com/ewerspej/MediaCustomTransport

ewerspej avatar Mar 31 '23 17:03 ewerspej