Closed dilburt closed 2 years ago
In the above image you will notice it has also logged: "Uncaught (in promise) DOM Exception: Play() failed because the user didn't interact with the document first. This is happening in a large number of VPAID ads even though the ads are set to muted autoplay. I know this is a separate issue but would like guidance on whether this should be logged. It seems like an ad error since it only happens in some VPAID ads but I'm not sure how the ad could affect this so I will log it if you think it's potentially an SDK issue.
This is not IMA SDK issue. Issue is on ad publisher side (vast.quantserve.com). They should include imasdk.googleapis.com explicitly in Access-Control-Allow-Origin header, because IMA SDK does not accept wildcard (and its exactly what error says).
Solving this with ad publishers.
Hello
I'm having the same issue with the sample test tag : https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator=
I'm injecting a videojs player with the google ima sdk on a page. Could someone help me please ?
@red1
i also have the same error but the ad is playing. I had to comment out autoPlayAdBreaks: false
in my ima options to make it play
@red1 Same issue here after changing the network code for our GAM account... wouldn't google be responsible for fixing this?
Hello all,
Let me reopen this issue, otherwise additional comments may go unnoticed.
Are there any steps to reproduce this error using the sample apps?
Receiving "Access to XMLHttpRequest at 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." when connecting to ad servers including: