> The average JavaScript library for handling video resolutions and full-screen mode switching is about 600 KB
Wow, really? You can write a full HTTP 1.0 server in a 15th-20th of that.
Wow, really? You can write a full HTTP 1.0 server in a 15th-20th of that.
If you are just doing standard video playback, something like video.js is an order of magnitude less code (on the order of 50KB minimized + gziped).
I can't see those two interactions needing that much code.
edit: that's gzipped, but still, less than 600KB w/ many more features.
The point is that's for a feature packed video lib which also covers resolution handling
(not sure if it handles fullscreen resolution changing, but I don't see why they wouldn't.)