Receiving VPAID / CORS errors on IOS

203 views
Skip to first unread message

David

unread,
Oct 2, 2018, 3:29:29 PM10/2/18
to Interactive Media Ads SDK
We started seeing cross domain errors on our player for some vpaid creatives on IOS Safari Iphone.
Error: "An unexpected error occurred within the VPAID creative. Refer to the inner error for more info."
Inner Error: message: "Error: Blocked a frame with origin \"https://tpc.googlesyndication.com\" from accessing a frame with origin \"https://imasdk.googleapis.com\"…"

But this works in the IMA test player.  I know normally the blocked frame is usually a red herring, but this seems to be causing a legit error from the vpaid creative in our case.  Any idea why that might be?  Using INSECURE vpaidMode crashes the playback and DISABLED works fine without VPAID but we would like to understand why vpaid is working on the test player but not in our case.


Thanks

David

unread,
Oct 2, 2018, 3:29:53 PM10/2/18
to Interactive Media Ads SDK
HTML 5 SDK

David

unread,
Oct 2, 2018, 6:21:02 PM10/2/18
to Interactive Media Ads SDK
I eventually tracked it down to having this in the video tag: crossorigin="anonymous".

David

unread,
Oct 3, 2018, 11:01:29 AM10/3/18
to Interactive Media Ads SDK
I have removed the crossorigin tag and it's back to working, but we are still curious as to why that started breaking as that was in there for a couple years now without an issue.  Did the recent releases of IMA conflict with that setting?  It seemed to affect more than just one ad.

Thanks

ima-sdk-adv...@google.com

unread,
Oct 3, 2018, 2:44:11 PM10/3/18
to ima...@googlegroups.com
Hi David,

Thank you for reaching out to us. We've used the link to your website using Safari on an iPhone and the ad plays successfully. We've monitored the network panel of the page, and we were not able to see any resource sharing failure. The cross domain errors on your player might have been caused by some issues on your network. Glad to hear that you are not seeing the issues anymore.

Let us know if you have any other questions. We will be happy to help you.

Regards,
Deepika Uragayala
IMA SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+unsubscribe@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

David

unread,
Oct 30, 2018, 5:01:24 PM10/30/18
to Interactive Media Ads SDK
We are actually still struggling with this error: ( nner Error: message: "Error: Blocked a frame with origin \"https://tpc.googlesyndication.com\" from accessing a frame with origin \"https://imasdk.googleapis.com\"…" ) 

its because we need to have the crossorigin="anonymous" attribute on our video tag.  We need this attribute to make captions work correctly.  Is this something that can be fixed on IMA's side or is this an issue on the vpaid creator's side.  You can see this issue at the test link below.

ima-sdk-adv...@google.com

unread,
Oct 31, 2018, 3:34:53 PM10/31/18
to ima...@googlegroups.com
Hi David,

Thank you for reaching out to us. We were not able to reproduce the issue using our sample app. However, we reproduced the issue using the test page link you provided. Would you consider launching your test page using a secured protocol (https) instead of a non-secured (http) as this might be the reason why IMA ad requests are blocked every time.

Let us know if you're still facing the issue.

Regards,
Deepika Uragyaala
IMA SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Fabrizio Flo

unread,
Jan 23, 2019, 9:12:46 AM1/23/19
to Interactive Media Ads SDK
Hi There, i'm joining on this thread because i've the same problem. I'm using videojs with this plugin: https://github.com/googleads/videojs-ima

ima-sdk-fo...@google.com

unread,
Jan 23, 2019, 3:55:21 PM1/23/19
to ima...@googlegroups.com
Hi,

Unfortunately, we don't support the videojs-ima plugin via this support alias. For support on issues related to the plugin, you can post on that team's GitHub Issue Tracker.

Regards,
Arnaud Casame
IMA SDK Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Reply all
Reply to author
Forward
0 new messages