flimshaw / Valiant360

An in-browser 360 degree panorama video player.
http://flimshaw.github.io/Valiant360/
MIT License
777 stars 151 forks source link

Add cross-origin default/option; Update documentation to describe crossOrigin use #20

Closed noosphere2 closed 8 years ago

noosphere2 commented 9 years ago

The crossOrigin option allows keywords 'anonymous' or 'use-credentials' to be used when Valiant is grabbing Images or Videos. This option will allow Valiant360 to grab cross-domain assets for Chrome and Firefox, however at time of writing Safari throws the error: [Error] SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent.

Cross-domain tested on Mac OSX Yosemite: Chrome v43.0.2357.130, Chrome Canary v45.0.2449.0, Firefox v39.0, Safari v8.0.6.