Failed to execute 'postMessage' on 'DOMWindow':

578 views
Skip to first unread message

sudhir bhadauria

unread,
Jun 12, 2017, 10:48:50 AM6/12/17
to Interactive Media Ads SDK
Hi IMA SDK Team,

I am getting below mentioned error after loading my VMAP XML. Also my VMAP XML is loading two times.XML file is hosted on my own server.

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://imasdk.googleapis.com').


Regards,
Sudhir Bhadauria


Chris Feldman (IMA SDK Team)

unread,
Jun 12, 2017, 3:27:52 PM6/12/17
to Interactive Media Ads SDK
Hi Sudhir,

If your VMAP XML is loading twice, it's likely being requested twice. Can you double-check your implementation against our samples? We also have live demos of these samples, if you'd like to test. The Advanced Demo is most useful since you can paste in your own ad tag.

For the error that you're seeing, if playback is unaffected, you don't need to worry too much. Regardless, if you'd like to share you ad tag then I can take a look.

Regards,
Chris Feldman
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages