You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using ogv player to play ogg file, if I give a hard code URL of an audio file served by my server it works fine but if I add the google storage url of the same file. It runs into the following CORS issue:
Access to XMLHttpRequest at 'https://storage.cloud.google.com/..' from origin 'http://localhost:3006' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
Note that, I am using the same url for other audio players (waversurfer) and it works well. But when passed to ogv player, i see the above error. Do I have to add some other configuration to make it work ?
The text was updated successfully, but these errors were encountered:
I'm not sure whether redirects are allowed on CORS requests that require a preflight. Using the direct URL instead of a redirect should work, though, if the headers are correct.
While using ogv player to play ogg file, if I give a hard code URL of an audio file served by my server it works fine but if I add the google storage url of the same file. It runs into the following CORS issue:
Access to XMLHttpRequest at 'https://storage.cloud.google.com/..' from origin 'http://localhost:3006' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
Note that, I am using the same url for other audio players (waversurfer) and it works well. But when passed to ogv player, i see the above error. Do I have to add some other configuration to make it work ?
The text was updated successfully, but these errors were encountered: