googleads / videojs-ima

IMA SDK Plugin for Video.js
Apache License 2.0
450 stars 284 forks source link

CORS error #916

Closed spormeon closed 4 years ago

spormeon commented 4 years ago

Hi, is this supposed to happen or have iI got something wrong somewhere? I'm trying to use my own VMAP in effect, to set pre-rolls, mid-rolls etc

Access to XMLHttpRequest at 'https://domain/scripts/pmp.xml' from origin 'https://imasdk.googleapis.com' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

Kiro705 commented 4 years ago

Hello @spormeon ,

Would it be possible for you to share the steps to reproduce this error?

Also, are you able to reproduce this error when using our sample ad-tags? If not this suggests an error with the ad-tag and not your IMA implementation.

spormeon commented 4 years ago

i think i have this sorted by adding a cors rule to allow https://imasdk.googleapis.com on my s3 bucket

Kiro705 commented 4 years ago

Issue resolved and closing.