vimeo-unity-sdk icon indicating copy to clipboard operation
vimeo-unity-sdk copied to clipboard

CORS issue

Open BDS-git opened this issue 6 years ago • 5 comments

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

BDS-git avatar Jun 20 '19 13:06 BDS-git

Hello, have you solved this problem??

nsmith1024 avatar Jul 17 '19 12:07 nsmith1024

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.

umresh avatar Jan 23 '20 13:01 umresh

Same problem here.

chrispop avatar Jul 14 '20 16:07 chrispop

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

ghost avatar Aug 05 '20 09:08 ghost

Any update/eta on this?

Marcosdg3 avatar Jun 03 '22 00:06 Marcosdg3