WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus ColorBox
Open youtube video from link (9 posts)

  1. tee_na
    Member
    Posted 1 year ago #

    Hello,
    I'm trying to open a video when someone clicks a link. For some reason it opens up full screen instead of in the lightbox.

    I used this code:

    careful

    http://trinidadpena.com/lets-do-this-thing/

    I'm not sure what I am doing wrong.

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

  2. hoffo
    Member
    Posted 12 months ago #

    Yes i'd like to know the answer to this as i have the same issue.

    Regards, Paul

  3. tee_na
    Member
    Posted 11 months ago #

    I wish I could help you Paul. I just used a different plug-in.

  4. courseiam
    Member
    Posted 11 months ago #

    Hi

    Check your secondary class name under the Secondary Lightbox Settings, in the Other tab My default setting was lbp_secondary. Then just change the class name from lbModal to the correct class name on the embedded code.

    Dan

  5. hoffo
    Member
    Posted 11 months ago #

    Hi courseiam

    Thanks for your reply, i did get over the issue with a different plugin, but it doesn't have the flexibility of the Lightbox plus, so are you saying to change the secondary name from lbpModal to lbp_secondary in the Other tab? Does this correct the issue of it opening up in full screen?

    Thanks for replying, appreciated!

    Paul

  6. courseiam
    Member
    Posted 11 months ago #

    Hi Paul,

    No not quite. Check what the class name in the Secondary other tab and then go the page where your youtube vid is and change that class name to match the one in the other tab. And that will solve the full screen problem.

    Hope that makes sense?

    Dan

  7. hoffo
    Member
    Posted 11 months ago #

    Yes it makes sense, though i'm sure i had these the same originally, but i will try again, thanks for your help!

    Paul

  8. courseiam
    Member
    Posted 11 months ago #

    Good luck and you're welcome! If you have any more problems, let me know and I'll try to help.... I'm no expert tho!

    Dan

  9. Saber Triki
    Member
    Posted 6 months ago #

    Hi
    I had the same issue with video playing in youtube website (full screen mode) instead of opening a lightbox in my website.
    I found your thread here and fixed my issue.
    Since the last comment before my addy here does not indicate if the solution provided by "courseiam" was ok, I prefered to add this part so other users experiencing the same issue can figure out that the solution is fine and fix 100% the issue.
    Do not forget when setting the plugin options in WP appearance that Secondary Lightbox Settings is not there by default.
    (1) You have to check the Use Secondary Lightbox option in the main "Base settings" Tab
    (2) Save all settings
    (3) Reload to have acess to a new Secondary Lightbox tab in the bottom
    (4) In one of its folders called "Other", you can read "the Secondary Class Name" given class name
    (5) You must use this Class name your short codes
    Example:
    The Secondary Class Name = lbp_secondary
    the short code you should use must read:
    (to avoid this site changes the text below to a link in my comment, I deleted some html strings in front and in the end please add: < in front and > in the end to close the html code)
    a>href="http://www.youtube.com/embed/3f7l-Z4NF70">lbp_secondary" title="Sample Video">Sample Video </a

    Hope this can help others and thank you very much for helping me this evening.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.