vimeo / vimeo-unity-sdk

Easily stream your Vimeo videos into Unity or record and publish out to Vimeo.
MIT License
210 stars 48 forks source link

CORS issue #97

Open BDS-git opened 5 years ago

BDS-git commented 5 years ago

I am trying to load a video from Vimeo, but i am running into CORS problems when building to WebGL.

that's the error:

"Access to video at 'https://vimeo-prod-skyfire-std-us.storage.googleapis.com/01/3109/9/240545637/861578706.mp4?GoogleAccessId=GOOGLW2TRT7BCCZZO5AX&Expires=1561049615&Signature=0p1YTKCZw81S2NW7CsulkQxAUvg%3D' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource"

*works fine before build...

Unity version: 2019.1.6f1

nsmith1024 commented 5 years ago

Hello, have you solved this problem??

umresh commented 4 years ago

Hey I'm getting the same error. Did you solved it? [Edit] I tried running build from S3 storage and Face the same issue. When inspect the response headers for the url at [progressive] in video metadata response when video player loads it, there is no Allow-Origin-Header in the response header for the video.

chrispop commented 4 years ago

Same problem here.

ghost commented 4 years ago

I chased Vimeo support.

Part of my message to them:

This appears to be a problem on Vimeo's side in relation to the server's CORS policy. [I may be wrong but] it would be out of control of the Vimeo-Unity-SDK client.

There are plenty of unclosed issues in the Vimeo-Unity-SDK relating to the issue I am facing: https://github.com/vimeo/vimeo-unity-sdk/issues?q=CORS

And this is Vimeo's official response:

Taylor T. (Vimeo Support) Aug 4, 2020, 5:36 PM EDT

Hi, Understood. We're aware of this issue, however we cannot provide any ETA for a potential fix or any changes. Our apologies for any inconvenience this causes you! 

Sincerely, Taylor T. Specialist, Vimeo Developer API + Apps

Marcosdg3 commented 2 years ago

Any update/eta on this?