Full screen video auto landscape for Android Kiwi Browser
This is for Kiwi Browser on Android, other browsers with user js support might also work.
Below script sets phone to proper full screen mode(hopefully) for video, assuming the phone is in locked portrait mode: portrait for portrait video and landscape for landscape video.
Update on 3/23/2024:
Recent Youtube videos don't go landscape when fullscreen. The problem is on Youtube side -- both stock Chrome 122 and kiwi 124 fails -- as videos don't rotate to landscape automatically, and Youtube WAS one of the few sites that actually take this into consideration and got landscape full screen before recent change.
The script also take care of Youtube.
It uses javascript ScreenOrientation API. For kiwi browser, I use User JavaScript and CSS Violent Monkey extension, TamperMonkey etc.. should also work.
Full script. It's set to match all video sites as I don't notice any side effect.
1 | // ==UserScript== |