vimeo-threejs-player icon indicating copy to clipboard operation
vimeo-threejs-player copied to clipboard

video file blocked by CORS policy

Open tiagovignatti opened this issue 4 years ago • 0 comments

Both album.html and two-and-a-half-d.html are not working at the moment due CORS policy. These examples are trying to fetch media file URL directly from another host CDN and generating the following error:

image

Steps to reproduce the behavior:

  1. Go to https://vimeo-threejs-player.glitch.me/two-and-a-half-d
  2. Open Chrome DevTools console
  3. See the error

Other examples using Adaptive and Dash playback (i.e. downloading .m4s media parts) work just fine. I noticed that the sample server.js tries to circumvent CORS by injecting some headers foo but that's not working out.

I'm wondering whether this is somehow related to the fact of readme saying "Streaming Vimeo videos requires video file access via the Vimeo API. Accessing video files is limited to Vimeo Pro and Business customers"? Any kind of help is very welcome! Thanks.

tiagovignatti avatar Aug 16 '19 20:08 tiagovignatti