sarbagyastha / youtube_player_flutter

A Flutter plugin for inline playback or streaming of YouTube videos using the official iFrame Player API.
https://youtube.sarbagyastha.com.np
BSD 3-Clause "New" or "Revised" License
708 stars 820 forks source link

[BUG] Full screen doesn't work #845

Open Zubii12 opened 1 year ago

Zubii12 commented 1 year ago

Describe the bug The full screen button doesn't work in the example of youtube_player_flutter. I tested on both Android and iOS.

halfaHalfawy commented 1 year ago

it just toggles the landscape mode and give the video full width and height

jagpreetsethi commented 1 year ago

I am also facing similar issue. It makes an attempt for the full screen mode but then falls back to normal portrait immediately. Apparently no errors as well. Testing on Real iPhone 13 Pro device. Executing example code with no modification @sarbagyastha Thoughts?

MobiNeil commented 1 year ago

I also have the same issue on my Android Redmi Note 10 Pro. Full screen opens and immediately closes. It seems that, as soon as full screen is activated, the 'onExitFullScreen()' callback is activated, which in turn resets the device orientation back to defaults, closing the full screen.

SaqibWani273 commented 10 months ago

I am also facing the same issue. Has anyone found any solution for it?

Jeffrey-R commented 8 months ago

My YT Player is inside a ShowDialog widget. I found that on iOS (Simulator) my YT Player did not change size at all and on Android (Emulator) it went full width, but did not go full height.