WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
[Plugin: Lightbox Plus] X-Frame-Options Refusal Error (2 posts)

  1. Leglaw
    Member
    Posted 2 years ago #

    Trying to display a youtube video that I uploaded using this plugin. Secondary lightbox functionality is disabled. Console reports this error:

    Refused to display document because display forbidden by X-Frame-Options.

    I have 2 videos on the page the first of which works but when bringing up that video, console reports:

    Unsafe JavaScript attempt to access frame with URL http://staging.example.com/ from frame with URL http://www.youtube.com/v/<snipped>. Domains, protocols and ports must match.

    http://wordpress.org/extend/plugins/lightbox-plus/

  2. Leglaw
    Member
    Posted 1 year ago #

    Fixed it. Problem was the kind of youtube embed link that I was using.

    Fails:
    http://youtu.be/jNQXAC9IVRw

    Works:
    http://www.youtube.com/v/jNQXAC9IVRw

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic