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

infinite load on safari after putting the source on CDN #1086

Closed
thomon opened this issue Mar 14, 2014 · 2 comments
Closed

infinite load on safari after putting the source on CDN #1086

thomon opened this issue Mar 14, 2014 · 2 comments
Labels

Comments

@thomon
Copy link

thomon commented Mar 14, 2014

A fully fonctional video.js player broke on safari for mac after moving the video on a distant media server. It works on chrome, firefox and IEs.

Looks like a cross server issue, so I added a php header on the page which call videojs :

header('Access-Control-Allow-Origin: *');

But it doesn't resolve the issue.

@mmcc mmcc added the question label Mar 14, 2014
@mmcc
Copy link
Member

mmcc commented Mar 14, 2014

Cross domain issues shouldn't apply here, so my guess is the CDN isn't sending the right MIME type. Check the headers on an mp4 you're delivering from the CDN and make sure it's Content-Type: video/mp4

Why was this closed?

This issue was closed because it does't require any direct changes to Video.js core. The conversation can continue, but I need to close this to keep the open issue list focused on development.

This question may be better fit for Stack Overflow or IRC (#videojs), where you're most likely to get a quick response. If you do post to Stack Overflow or if a post already exists, please link to it here.

Cheers!
@mmcc

@mmcc mmcc closed this as completed Mar 14, 2014
@thomon
Copy link
Author

thomon commented Mar 18, 2014

Thanks for the response, the issue isn't related to the content type which correctly return video/mp4. I'll keep digging

Here's the correspondign stackoverflow :
http://stackoverflow.com/questions/22383800/video-js-infinite-load-on-safari-after-putting-the-source-on-cdn

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants