jhomlala / betterplayer

Better video player for Flutter, with multiple configuration options. Solving typical use cases!
Apache License 2.0
932 stars 1.04k forks source link

[BUG][iOS] call disablePictureInPicture cause origin player stop. #1350

Open namnh-0652 opened 2 weeks ago

namnh-0652 commented 2 weeks ago

History check

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Open example/picture_in_picture (iOS)
  2. Press show PiP (ok)
  3. Press disable PiP

=> PiP stops, but the player is stopped also.

*Example code Use example code

Expected behavior Keeps origin player continues

Screenshots N/A

Flutter doctor Please add flutter doctor output here.

Better Player version

Smartphone (please complete the following information):

Additional context N/A

namnh-0652 commented 1 week ago

@jhomlala could you help to quick review and give me a suggestion!