mercredi 6 mai 2015

Vimeo video works locally but not on live website: Uncaught Security Error: origin error with iframe

I am having a hard time figuring this one out. I have two videos on my website that I host at vimeo. With the embded code they provide, one video will display and playback and the other will playback locally but not once I upload it to bluehost.

The console reads: Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://www.example.org" from accessing a frame with origin "http://example.org". Protocols, domains, and ports must match.

and it cites jquery.min.js.

I've found a few suggestions about how to work around this with document.domain but to no avail. Any help would be much appreciated. Thank you for your time

Aucun commentaire :

Enregistrer un commentaire