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

CORS error in WebGl build.

Open umresh opened this issue 5 years ago • 3 comments

Hi, I'm building player for WebGL and when playing video I get CORS error when playing the video url under [play][progressive] in response Json. How do I solve this issue?

[EDIT] Tried AvPro Video too but getting the same error. I'm using Unity 2019.2.17f1.

umresh avatar Jan 20 '20 12:01 umresh

Hi, I'm building player for WebGL and when playing video I get CORS error when playing the video url under [play][progressive] in response Json. How do I solve this issue?

[EDIT] Tried AvPro Video too but getting the same error. I'm using Unity 2019.2.17f1.

Hey Did you manage to get it working? It seems like everyone has this issue and hasn't figured out a way to fix it. Would be great if we could get this fixed and update this repo.

iheartblob avatar Jul 24 '20 12:07 iheartblob

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

Maybe, if you have control over the server that you're hosting your app from, you maybe can rewrite the headers to always return the missing headers.

This was also a problem i faced. Also Fiddler is a great program to know what happens and goes wrong with debugging WebGL builds with "outside" connections.

Wyvernius avatar Sep 16 '20 00:09 Wyvernius