3 ms·
>The average JavaScript library for handling video resolutions and full-screen mode switching is about 600 KB. It’s a small overhead for a 15 minute+ video. How
by ksec 5y ago
>The average JavaScript library for handling video resolutions and full-screen mode switching is about 600 KB. It’s a small overhead for a 15 minute+ video. However, it’s way too much for a short animation or a minute-long presentation.
I would argue it shouldn't even need JS in the first place.
But then again Youtube solves that problem for you with practically zero code.