- This topic has 3 replies, 3 voices, and was last updated 10 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › "Blocked a frame with origin" error using Lightbox Ultimate
When using Lightbox Ultimate on my site I am getting the following error message in my console:
[Error] TypeError: ‘null’ is not an object (evaluating ‘/^[^?#]*//.exec(location.href)[0]’)
(anonymous function) (LAB.js, line 18)
[Error] Blocked a frame with origin “https://www.youtube.com” from accessing a frame with origin “http://martialartswhitby.com”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”. Protocols must match. (x9)
This is the generated HTML from the page itself. HTTPS is not being used and this is the example right from the guide.
<div class=”lightbox_ultimate_anchor lightbox_ultimate_text_anchor “>
<iframe width=”500″ height=”400″ src=”http://www.youtube.com/embed/YIW5oo-8NYw?wmode=transparent&hd=0&autoplay=0&controls=1&fs=1&autohide=2&theme=dark&rel=0&showinfo=1&iv_load_policy=3″ frameborder=”0″></iframe>
</div>
Any thoughts on how to resolve this?
Do you have a link to a test page, with this example?
Sure.
[http://martialartswhitby.com/test-page/]
@bzarnett, are you referring to the YouTube video embedded in this page? [http://martialartswhitby.com/test-page/]?
It seems to be playing and there is no error in the console either.