Avoid the lag when entering/exiting fullscreen on a YouTube video - by hiding the heavy fluff while transitioning
YouTube Fast Fullscreen Toggle Extension
Supported fullscreen transitions:
- Clicking the fullscreen button
- Pressing the F key
- Double-clicking the video
Unsupported fullscreen transitions (still slow):
- Escape
- F11
Note that Firefox doesn't seem to have the same issue as Chrome; so in Firefox the improvement is barely noticeable.
In Vivaldi, there is unfortunately an intermediate step in the fullscreen transition, which I can't seem to do anything to avoid. It appears to be due to the toolbars being hidden/shown at a different moment to when the browser actually enters/leaves fullscreen.
Technical detail:
This bug's been present for years now, and I got so sick of it that I spent one night experimenting to find a way to avoid it - and I found one! The extra HTML content on the page (playlist, recommendations, comments, description, likes, etc.) is pretty heavy, and when you toggle fullscreen, YouTube moves it around in the DOM, which ends up incuring a fair bit of processing. I've worked out that it's significantly faster to hide that extra content before transitioning, then display it again afterwards once it's reached its new position.
Source Manifest.json
Similar Extensions
YouTube Inline Fullscreen 2,000+ 45 ★ 21.52KiB
YouTube Refined: Improve's YouTube UI 2,000+ 21 ★ 13.08KiB
YouTube Toggle Fullscreen 2,000+ 6 ★ 18.55KiB
Video Fullscreen 2,000+ 8 ★ 8.49KiB
YouTube Windowed FullScreen 2,000+ 361 ★ 173KiB
BigTube - Better Youtube Theater Mode & More 2,000+ 97 ★ 29.86KiB
BetterTheatre 2,000+ 34 ★ 18.82KiB
Hide YouTube™ Fullscreen Controls 2,000+ 41 ★ 20.4KiB
YouTube Full Screen Video 2,000+ 4 ★ 17.32KiB
YouTube Video Expander 2,000+ 4 ★ 5.06KiB
Modern scrollbar 2,000+ 83 ★ 30.62KiB
YouTube Full Windowed 2,000+ 15 ★ 13.09KiB
Full Screen Video for Youtube and more 2,000+ 11 ★ 50.39KiB
Tweaks for YouTube 2,000+ 451 ★ 615KiB
Fill Window - Youtube 2,000+ 22 ★ 13.13KiB
Delta for YouTube 2,000+ 10 ★ 678KiB
Windowed Fullscreen for Videos 2,000+ 11 ★ 16.39KiB
Fullscreen 2,000+ 16 ★ 6.9KiB
Ambient light for YouTube™ 2,000+ 135 ★ 947KiB
Toggle Fullscreen 2,000+ 79 ★ 17.45KiB
YouTube Full Title For Videos 2,000+ 58 ★ 11.87KiB
Highlights for YouTube 2,000+ 15 ★ 41.6KiB
Ultrawide Monitor for YouTube 2,000+ 55 ★ 132KiB
YouTube Settings 2,000+ 18 ★ 130KiB
User reviews
Le creeper arboricole (ID: 000000380e7ded17) Voted 5 ★ - Updated 10/19/2023
Sellers (ID: 000000c09abef734) Voted 5 ★ - Updated 10/05/2023
Bryan (ID: 0000004b27de7b6d) Voted 5 ★ - Updated 07/05/2023
Pierre “Ridou” Brunet (ID: 00000015d203c78b) Voted 1 ★ - Updated 05/10/2023
Maximiliano Kreckler (ID: 000000e983f3b34d) Voted 5 ★ - Updated 05/02/2023