The URL on README is pointing to a really old hls.js version. I assume that jsDelivr is not updating anymore because of its new nomenclature, but trying with it raises an error:
-> https://cdn.jsdelivr.net/gh/video-dev/hls.js@latest/dist/hls.js
Package size exceeded the configured limit of 50 MB.
@MartinKolarik can you help us with this?
really old hls.js version
What does "really old" mean? The following two links are equivalent, although they might return different results for a few hours after publishing because of CDN caching.
https://cdn.jsdelivr.net/npm/hls.js@latest
https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js
@flavioribeiro You can just purge our cache after you release a new version instead of changing the URL to https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js here https://github.com/video-dev/hls.js/pull/1666
Just send a request to https://purge.jsdelivr.net/npm/hls.js@latest and https://cdn.jsdelivr.net/npm/hls.js@latest will have the latest version instantly
@MartinKolarik Just curious, but why does https://cdn.jsdelivr.net/hls.js/latest/hls.js still point to a version about a year old?
@johnBartos about a year ago we switched from manually uploading files to a fully automated system. This also required changing the URL scheme, from <project>/<version>/<file> to npm/<project>@<version>/<file>. The old URLs are no longer being updated.
@MartinKolarik Thanks! 馃憤
Most helpful comment
@flavioribeiro You can just purge our cache after you release a new version instead of changing the URL to https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js here https://github.com/video-dev/hls.js/pull/1666
Just send a request to https://purge.jsdelivr.net/npm/hls.js@latest and https://cdn.jsdelivr.net/npm/hls.js@latest will have the latest version instantly