Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

"Blocked a frame with origin" error using Lightbox Ultimate

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › "Blocked a frame with origin" error using Lightbox Ultimate

Tagged: iFrame, lightbox, video, youtube

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 12 months ago by wpCommerce.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 21, 2014 at 2:17 pm #10874
    bzarnett
    Member

    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&#8243; frameborder=”0″></iframe>

    </div>

    Any thoughts on how to resolve this?

    May 21, 2014 at 3:14 pm #63131
    wzp
    Moderator

    Do you have a link to a test page, with this example?

    May 21, 2014 at 5:16 pm #63132
    bzarnett
    Member

    Sure.

    [http://martialartswhitby.com/test-page/]

    May 21, 2014 at 11:50 pm #63133
    wpCommerce
    Moderator

    @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.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ