cross origin issue between youtube.com and googleapis.com

490 views
Skip to first unread message

Max Shim

unread,
Jan 31, 2017, 12:23:13 PM1/31/17
to Interactive Media Ads SDK
HI,

I'm using IMA SDK HTML5.
I've seen below error :

Failed to execute 'postMessage' on 'DOMWindow' : The target www-widgetapi.js:121
origin provided ('https://www.youtube.com') does not match the recipient window's
How can I get rid of it?
Thank you.

Max

Chris Feldman (IMA SDK Team)

unread,
Jan 31, 2017, 1:54:12 PM1/31/17
to Interactive Media Ads SDK
Hi Max,

This isn't an error that you need to worry about, as it's not currently known to cause any issues. If you do start seeing errant behavior in conjunction with this error, please let us know.

Thank you,
Chris Feldman
IMA SDK Team

Steve Kim

unread,
Aug 8, 2017, 2:16:41 AM8/8/17
to Interactive Media Ads SDK
Hi Chris,

I'm getting the same error and it seems to be breaking the video player. I'm using videojs as suggested by 'https://github.com/googleads/videojs-ima'.
I can see 'Advertisement' text appearing at the top left corner of the video but it's not playing the ad nor playing the video when I click the play button.
Do you think it's might be related to the error message?

Thanks
Steve

Chris Feldman (IMA SDK Team)

unread,
Aug 8, 2017, 11:40:36 AM8/8/17
to Interactive Media Ads SDK
Hi Steve,

If you're using videojs-ima, you're going to have to reach out to their GitHub Issue Tracker for support. The forum only provides support for direct IMA SDK implementations.

Regards,
Chris Feldman
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages