WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
[resolved] Lightbox Plus + Video Frame (8 posts)

  1. Paweł Patyk
    Member
    Posted 1 year ago #

    Hi,
    Lightbox does not work for video.
    It works only for images.

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

  2. Dan Zappone
    Member
    Plugin Author

    Posted 1 year ago #

    More information please.

    Browser type, OS, PHP version, jQuery version, WordPress version, any error messages.

    Please note that video does work as can be seen here: http://www.23systems.net/wordpress-plugins/lightbox-plus-for-wordpress/demos/

    So there must be some other issue either with the browser or a conflict of some sort.

  3. Paweł Patyk
    Member
    Posted 1 year ago #

    Firefox 18
    Windows 8 Pro
    Lightbox Plus 2.5.5
    WordPress 3.4.2
    PHP 5.2.9
    jQuery 1.7.2

    The site loads only:
    $("a[rel*=lightbox]").colorbox({transition:"fade",innerWidth:"560",innerHeight:"315",initialWidth:"30%",initialHeight:"30%",maxWidth:"90%",maxHeight:"90%",opacity:0.8,fixed:true});
    It does not add the code for the class lbpModal.

    Maybe an option I need to enable?

  4. Dan Zappone
    Member
    Plugin Author

    Posted 1 year ago #

    Use Secondary Lightbox should be checked as well. Other than that it should be it. If that's not it I'll see what I can dig up. Thanks for the information!

  5. Paweł Patyk
    Member
    Posted 1 year ago #

    Thanks :)

  6. Mike Padua
    Member
    Posted 1 year ago #

    Hi, we have the same issue. Managed to make Lightbox load the Youtube videos properly.

    1. Enable a Secondary Lightbox
    2. Follow all the requirements for video lightboxing
    3. In the Secondary Lightbox Settings setting, in the Other tab, confirm what your secondary class name is. My default setting happens to be lbp_secondary.
    4. I applied this to my Youtube lightbox, instead of the rel="lbpModal", like so:

    <a href="http://www.youtube.com/embed/p2GLcFZQd3Y" class="lbp_secondary">
    <img src="http://img.youtube.com/vi/p2GLcFZQd3Y/hqdefault.jpg" width="700" height="320"/>
    </a>

    5. Saved everything, refreshed my browser and it works! :D

    Hope this helps.

  7. Dan Zappone
    Member
    Plugin Author

    Posted 1 year ago #

    @Mike Padua - that is correct. Unfortunately I'm way behind in creating decent documentation.

  8. CyberZorro0
    Member
    Posted 1 year ago #

    @Mike Padua, Thank you, your answer was exactly what I was looking for.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags