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

Some wrong whit subtitles/captations... #1094

Closed
blackmindrs opened this issue Mar 19, 2014 · 1 comment
Closed

Some wrong whit subtitles/captations... #1094

blackmindrs opened this issue Mar 19, 2014 · 1 comment

Comments

@blackmindrs
Copy link

Ok, just not work.. i use the embed player, the same vtt file to videojs... but not work... why? can u see in
http://y12.com.br/teste2.html

@mmcc
Copy link
Member

mmcc commented Mar 20, 2014

You're trying to pull the VTT file from a different domain, which is throwing a cross-domain error:

XMLHttpRequest cannot load http://www.videojs.com/vtt/captions.vtt. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://y12.com.br' is therefore not allowed access.

If you host the VTT file on y12.com.br it should work without a problem.

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

2 participants