jhomlala / betterplayer

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

[BUG]unable to view PIP icon on the player #1299

Open Gayathri-kt opened 2 months ago

Gayathri-kt commented 2 months ago

unable to see the PIP icon on the player, even though i have enabled pip option and PipMenuIcon

pedraohenrique commented 3 weeks ago

+1

Tried to run the example app and got the message: flutter: Picture in picture is not supported in this device. If you're using Android, please check if you're using activity v2 embedding.

Trying to understand what's happening, I've tried to check whether the PiP is enabled and got the same either in IOS or Android.

Printed:

    debugPrint(
        'isPictureInPictureSupported: ${await _betterPlayerController.isPictureInPictureSupported()}');

Got:

flutter: isPictureInPictureSupported: false

Are there any configurations needed to make it work?

kunal2602 commented 1 week ago

https://jhomlala.github.io/betterplayer/#/pictureinpictureconfiguration