Failed to execute 'postMessage' on 'DOMWindow'

Posted in: Newspaper
Post count: 31

Dear Sir,

I am receiving this error in my console:

www-widgetapi.js:100 Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://www.youtube.com’) does not match the recipient window’s origin (‘http://www.theloft.ba’).

Can you please help me fix it?

Thanks,

Dubravko

Post count: 20685

Hi,

Seems to happen when a video playlist in present in the page, or a YouTube video embed and only with the Chrome browser from what I can see. Firefox for example doesn’t produce the same error. I found some topics mentioning this in relation to Chrome
https://issuetracker.google.com/issues/35174286
But no actual fix is to be found. Videos seem to work regardless of it however.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.