Support » Plugin: jQuery Colorbox » [Plugin: jQuery Colorbox] link colorbox error with vimeo

  • Resolved mkudisch



    I’m trying to load a vimeo video in a colorbox by clicking on an image thumbnail. Images currently work fine, bringing up the colorbox as configured. Links work fine (such as wikipedia). But when I try to link to a vimeo video, the page appears in the colorbox like it should for a split second, then the link is activated and the browser redirects to the vimeo page. Is there a way to fix this? Youtube doesn’t work either (brings up just a blank page in the colorbox).

    Using wordpress 3.4 and twentyeleven.

    Any help much appreciated,

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


    opening youtube or vimeo videos in the Colorbox works just fine, see my example here:


    I figured it out. Was linking to the page not the player. Thanks though.


    jack randall


    for those who are also struggling your links for youtube videos should use the old URL structure:

    rather than the newer ones with


    so you end up with a link that looks like this

    <a href="" class="colorbox-link">trigger here</a>

    as for vimeo links they are to be rendered like this:

    giving you a full link of

    <a href="" class="colorbox-link">trigger here</a>

    it took me a while to figure this out but hopefully it will help someone else out there… good luck, if you get it working it’s a cracking plugin 😀



    God bless you


    otherwise I’d dropped down the damn thing!

    jack randall


    no worries, glad to help 😀

    Hey can someone help here? I dont really get it.

    <div class=”thumb”>

    <?php print_thumbnail($thumb, $thumbnail[“use_timthumb”], $titletext, $width, $height, $classtext); ?>

    </div> <!– end .thumb –>

    this my div for thumbnail how can i integrate the colorbox here?

    so that everytime i click the thumbnail in wordpress, it will display a video which is written in the content…

    jack randall


    it doesn’t work on php code, only in html.

    if you want to display a thumbnail image that when clicked opens a video then you need to use html. you can put it in a div with a class of thumb if you want to.

    <a href="link to video" class="colorbox-link">
      <img src="location of the thumbnail goes here" />

    hope that helps. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: jQuery Colorbox] link colorbox error with vimeo’ is closed to new replies.