Videos cause screen to get stuck in landscape mode
If I have a YouTube video open in another tab, when I switch back to that tab my screen will automatically become landscape mode and will not rotate to portrait mode. The video doesn't become fullscreen; it doesn't matter whether the video is playing or not. This happens even with auto-rotate turned off. The only way to get the tab back to portrait mode is to make the video fullscreen and then minimize it, after which auto-rotate works correctly again.