Skip to content
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

Closed
artbindu opened this issue Jun 2, 2023 · 6 comments
Closed

videojs CDN url should be create to download the latest URL #8306

artbindu opened this issue Jun 2, 2023 · 6 comments

Comments

@artbindu
Copy link

artbindu commented Jun 2, 2023

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

@artbindu artbindu added the needs: triage This issue needs to be reviewed label Jun 2, 2023
@welcome
Copy link

welcome bot commented Jun 2, 2023

👋 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.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@gkatsev
Copy link
Member

gkatsev commented Jun 2, 2023

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

@artbindu
Copy link
Author

artbindu commented Jun 2, 2023

Yes, I understand. @gkatsev

@artbindu
Copy link
Author

artbindu commented Jun 2, 2023

But this url,
https://cdn.jsdelivr.net/npm/video.js@8/dist/video.min.js mapping with Video.js 8.3.0 version

It should be Video.js 8.4.0 version @gkatsev

@mister-ben
Copy link
Contributor

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.

@mister-ben mister-ben removed the needs: triage This issue needs to be reviewed label Jun 3, 2023
@artbindu
Copy link
Author

artbindu commented Jun 7, 2023

Yes, it can be @mister-ben
Now I am gating 8.4.1 😊

OK, I am resolving this issue.
Thanks to all.

@artbindu artbindu closed this as completed Jun 7, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants