Viewing 1 replies (of 1 total)
  • Here is how i got it to work
    1) Initialize secondary lightbox
    2) Set your size, position (I found that I had to use fixed position for it to work correctly)
    3)Under “Other” tab check iframe and create a “Secondary Class Name”

    The link format must be (if secondary class is “youtube”):
    <a href="https://www.youtube.com/embed/LX1ozHOdyI4" class="youtube" rel="lightbox[secondary-demo]" title="">link or image goes here</a>

    The notice the URL structure /embed/ this is different from the page URL or the share link URL.

    The usage tab says
    <a title="The Known Universe" class="lbpModal" href="https://www.youtube.com/embed/17jymDn0W6U">YouTube Flash / Video (Iframe/Direct Link To YouTube Video)</a>

    But that doesn’t work, at least the way I tried.

Viewing 1 replies (of 1 total)
  • The topic ‘Opening Youtube in Lightbox?’ is closed to new replies.