XamarinMediaManager icon indicating copy to clipboard operation
XamarinMediaManager copied to clipboard

iOS AutoPlay Shows Previous Video

Open barrysohl opened this issue 5 years ago • 2 comments

🐛 Bug Report

On iOS, with AutoPlay true, calling Play( ) after a video has previously been played, will show the last frame from the previous video until buffering on the new video is complete and play begins. This makes it momentarily look like the wrong video is being played, and is very confusing for the user.

Expected behavior

VideoView should be blank during initial buffering.

Reproduction steps

100% reproducible. Turn AutoPlay on. Play a video. Stop it. Then play a second video and notice the previous video is still shown during buffering.

Configuration

Version: MediaManager: 0.9.7 Xamarin Forms: 4.7.0 iOS: 13.5

Platform:

  • [ ] :iphone: iOS
  • [ ] :robot: Android
  • [ ] :checkered_flag: WPF
  • [ ] :earth_americas: UWP
  • [ ] :apple: MacOS
  • [ ] :tv: tvOS
  • [X] :monkey: Xamarin.Forms

barrysohl avatar Jul 01 '20 17:07 barrysohl

I should add that audio from the previous video is also played. It appears buffers are not being fully cleared. Is there a way to manually clear the buffers?

barrysohl avatar Jul 01 '20 21:07 barrysohl

The same happens in Android too when we change the source before the first source was loaded. The previous video starts playing first and then changes to the current source.

AswinPG avatar Aug 13 '20 08:08 AswinPG