2 ms·
I don't know anything about video.js in particular, but many libraries are huge when served from a CDN because they have to account for every possible use case,
by lewispollard 5y ago
I don't know anything about video.js in particular, but many libraries are huge when served from a CDN because they have to account for every possible use case, as well as every locale, whereas in a local build with tree shaking and modular imports, it can be cut down by quite a lot. Depends on how "legacy" the codebase is, though.