jhomlala / betterplayer

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

[BUG] Picture-in-picture button has different opacity than other buttons on iOS #1170

Open ChopinDavid opened 1 year ago

ChopinDavid commented 1 year ago

History check Please confirm that you've checked issues history and you didn't find anything which may solve your issue.

Describe the bug The Picture in Picture button has half the opacity as all other buttons on the overlay.

To Reproduce Steps to reproduce the behavior:

  1. Go to a video on a pip-enabled iOS device

*Example code N/a

Expected behavior The pip button has the same opacity as all other buttons.

Screenshots image

Flutter doctor [✓] Flutter (Channel stable, 3.0.4, on macOS 12.6.1 21G217 darwin-arm, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 14.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.70.0) [✓] Connected device (3 available) [✓] HTTP Host Availability

• No issues found!

Better Player version

Version: 0.0.83 Smartphone (please complete the following information):

Device: iOS OS: 15

Additional context N/a

ChopinDavid commented 1 year ago

This is fixed via this commit.

ChopinDavid commented 1 year ago

I can make a PR on this repo if it will be merged in.

hanancs commented 1 year ago

@ChopinDavid have you tested this feature on a simulator or a real device?