WordPress.org

Support

Support » Plugins and Hacks » jQuery Colorbox » [Plugin: jQuery Colorbox] support for video? html?

[Plugin: jQuery Colorbox] support for video? html?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor techotronic

    @techotronic

    Hi,
    my plugin does not support that out of the box, but the Colorbox Library that I include does:
    http://colorpowered.com/colorbox/

    Cheers,
    Arne

    It looks so good, can’t you make it work for video and flash as well? 🙁 The instructions on the colorbox site are too complicated for me I’m afraid.

    Plugin Contributor techotronic

    @techotronic

    Hi,
    opening videos/HTML/other stuff in the colorbox from text links works in the current version, does this solve your problems?
    Cheers,
    Arne

    Hi techotronic,

    How do I get youtube videos to display in a colorbox similar to how the example works on the site? I’m trying:

    <a href="http://www.youtube.com/watch?v=CRI7oz5xt8uM&feature=player_embedded" title=""><img src="/wp-content/themes/theme/images/video.jpg" alt="Design" class="alignleft"/></a>

    But this is simply opening a blank colorbox with nothing. I’d love to use this plugin because it’s got a lot of great options but need video too. Thanks!

    Plugin Contributor techotronic

    @techotronic

    Hi,
    is the colorbox really small?
    Is it possible that you didn’t set the width and height for the colorbox for links? Those are separate from the width and height for the colorbox for images:
    http://www.techotronic.de/plugins/jquery-colorbox/opening-links-colorbox/
    Cheers,
    Arne

    I tested the youtube example on http://pappmaskin.no/2011/06/test-colorbox/ and im getting the same result as dlocc, a blank colorbox.

    Plugin Contributor techotronic

    @techotronic

    Hi mskogly,

    the Youtube video is not opened in a Colorbox because in 4.0, only text links or links to pictures are opened in a colorbox.
    I changed that in 4.0.1 which leads to all links from images being opened in a Colorbox. (see your own ticket )

    The text link opens a small, blank colorbox because you didn’t set the width and height for the colorbox for links as explained here:
    http://www.techotronic.de/plugins/jquery-colorbox/opening-links-colorbox/

    If you take a look at your HTML source, you’ll see:

    var colorboxLinkHeight = false;
    var colorboxLinkWidth = false;

    which should not be set to false but to a value like 400.

    Cheers,
    Arne

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: jQuery Colorbox] support for video? html?’ is closed to new replies.
Skip to toolbar