-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
videojs CDN url should be create to download the latest URL #8306
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
We have historically specifically avoided creating those urls because we felt like the likelihood of soft breakages were too big. As an alternative, you can try jsdelivr or unpkg urls: https://cdn.jsdelivr.net/npm/video.js@8/dist/video.min.js |
Yes, I understand. @gkatsev |
But this url, It should be Video.js 8.4.0 version @gkatsev |
jsdelivr and simlar services cache the files, so there will always be some delay for them update. That URL is serving me 8.4.0 now. |
Yes, it can be @mister-ben OK, I am resolving this issue. |
Description
videojs shoule expose a CDN url to give the latest player.
Now we know if we want to get a specific videojs release build we have to use CDN url like:
videojs player 8.0.0:
https://vjs.zencdn.net/8.0.0/video-js.css
videojs player 8.4.0:
https://vjs.zencdn.net/8.4.0/video-js.css
We need to expose a CDN url which is mapping with latest player like
https://vjs.zencdn.net/8/video-js.css
(latest player of version 8)or
https://vjs.zencdn.net/latest/video-js.css
(map with latest of latest version of player)Reduced test case
https://vjs.zencdn.net/8.4.0/video-js.css
Steps to reproduce
Not Applicable
Errors
No response
What version of Video.js are you using?
8.4.0
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Chrome, Edge, Firefox
What OS(es) and version(s) does this occur with?
Windows, Mac
The text was updated successfully, but these errors were encountered: