Hello all, I was hoping that someone can shed some light on my issue.
I have a 3d model in sketchfab and I am trying to use the AddTexture or AddVideoTexture functions in order to update the texture of the 3d model. I have used the following URL: https://labs.sketchfab.com/experiments/video-textures/videos/facetune.webm
and it works great, however when I try to use a local resource (running sketchfab on my own server) it gives me the errors listed below. I contacted SketchFab and they said…
“As far as I know, local files cannot be used due to cross origin limitations of browsers. However, you shouldn’t need to host videos on Sketchfab’s domain either. Any CORS-enabled domain should be fine.”
I have since attempted other videos from different domains and none of them work.
My question is, has anyone been able to get this to work?
I hope someone can help.
Access to image at ‘https://…’ from origin ‘https://sketchfab.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.