flutter_widget_from_html icon indicating copy to clipboard operation
flutter_widget_from_html copied to clipboard

Automatically change Youtube video orientation in Webview to landscape in full screen mode

Open Aanu1995 opened this issue 1 year ago • 2 comments

Thank you very much for this plugin. Currently, when user enters full screen mode when playing Youtube video on iphone, the video does not go to landscape mode until user changes the orientation of the device to landscape. On video player in iphone, when user enters full screen, the video player orientation changes to landscape and on exit full screen screen, changes back to portrait.

I want to know if it is possible to make Youtube video in iframe to change to orientation to landscape automatically on entering full screen mode just like the video player. Thank you.

Aanu1995 avatar Jun 25 '24 19:06 Aanu1995

This may be possible to do by waiting for the fullscreen event and force a orientation change I think.

daohoangson avatar Jun 29 '24 20:06 daohoangson

okay. Thank you

Aanu1995 avatar Jul 02 '24 16:07 Aanu1995