Plugin causes error with YouTube API (www-widgetapit.js)
-
Hi,
We’re using your plugin to make videos on our site responsive. I’ve noticed however that sometimes — I think on the second load of a page — the plugin causes an error with the YouTube API.
For example, on this page http://www.ibiology.org/ibioseminars/microbiology/david-baltimore-part-3.html
If you load it once or twice you’ll eventually see this error:
www-widgetapi.js:98 Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://www.youtube.com’) does not match the recipient window’s origin (‘http://www.ibiology.org’).
The error goes away though when I deactivate the plugin.
Any thoughts? Thanks!
– Daniel
The topic ‘Plugin causes error with YouTube API (www-widgetapit.js)’ is closed to new replies.