-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Description
jquery.valiant360.js:352 Access to XMLHttpRequest at 'file:///C:/Users/Maverick/Desktop/three/video/Video.MOV' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
I have used this as it's in the documentation, still getting Cors error and video status error :0
<script type="text/javascript">
$(document).ready(function() {
$('.valiantContainer').Valiant360({
crossOrigin: 'anonymous', // valid keywords: 'anonymous' or 'use-credentials'
clickAndDrag: false, // use click-and-drag camera controls
keyboardControls: true, // use keyboard controls (move by arrows)
flatProjection: false, // map image to appear flat (often more distorted)
fov: 35, // initial field of view
fovMin: 3, // min field of view allowed
fovMax: 100, // max field of view allowed
hideControls: false, // hide player controls
lon: 0, // initial lon for camera angle
lat: 0, // initial lat for camera angle
loop: "loop", // video loops by default
muted: true, // video muted by default
volume: 0.5, // video volume by default
autoplay: true // video autoplays by default
});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels