I am trying to get my video with crossorigin
attribute play in Chrome (version 20.0.1132.47 m). It does not even load. The network panel shows that the OPTIONS
(so called "preflight") request gets aborted by the browser for some reason.It works without the crossorigin
attribute. Firefox loads and plays it successfully. I would appreciate any suggestions.
<video
id='vid'
autoplay
crossorigin
src='http://videos-cdn.mozilla.net/serv/mozhacks/demos/resources/immersivevideo/dubai.r.webm'>
</video>
http://jsfiddle.net/ZVgr2/
The cause of this turned out to be missing Access-Control-Allow-Headers
response header with the list of HTTP headers that matches the list passed in Access-Control-Request-Headers
request header.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With