vidstack / player

UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
https://vidstack.io
MIT License
1.9k stars 114 forks source link

cdn.vidstack.io is not accessable in some countries #1253

Closed mahdiar closed 2 months ago

mahdiar commented 2 months ago

Hi Thanks for your nice player. I have a problem with new CDN. I can't use it in Iran so my visitors can watch videos in my sites. Is it possible to have more CDNs or other ways for Iranians to use this?

Regards

mihar-22 commented 2 months ago

We rely on https://jsdelivr.com to deliver our packages as it's freely available and has the best performance in our testing. You'll need to find a suitable CDN for your country that supports NPM packages, or you can host the NPM package yourself which would require some more work for version control and so on. I'm not aware of any other alternative options, if you dig around you might find some.

All files are available in our @vidstack/cdn package.

mahdiar commented 2 months ago

We rely on https://jsdelivr.com to deliver our packages as it's freely available and has the best performance in our testing. You'll need to find a suitable CDN for your country that supports NPM packages, or you can host the NPM package yourself which would require some more work for version control and so on. I'm not aware of any other alternative options, if you dig around you might find some.

All files are available in our @vidstack/cdn package.

I have no issue with https://jsdelivr.com/ but just with cdn.vidstack.io. Maybe there is some limitation in cdn.vidstack.io.

mihar-22 commented 2 months ago

Can you share the error or issue you’re facing?

mahdiar commented 2 months ago

Secure Connection Failed

An error occurred during a connection to cdn.vidstack.io. PR_END_OF_FILE_ERROR

Error code: PR_END_OF_FILE_ERROR

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.