• Resolved crdunst

    (@crdunst)


    Hi Arne,

    Firstly, thanks for the plugin, I’m always amazed at how much work people put into plugins and the support.

    This leads me onto a question related to a site I’m building. When I use the plugin for images, it works great, and as expected.

    When I try to link to a youtube video however, with a class of ‘cboxElement’ on the anchor, I get an error in the colorbox overlay: ‘This content failed to load.’. Firebug console gives the following message: ‘Error: cboxElement missing settings object’.

    I’m not sure if I’ve missed a setting, missed a class I should have added to the anchor, or have an incorrect youtube link.

    I’ve tried the following youtube variations, without success:
    http://www.youtube.com/watch?v=CSK1D3bZhRs
    http://www.youtube.com/embed/CSK1D3bZhRs
    http://youtube.com/v/CSK1D3bZhRs/
    http://youtube.googleapis.com/v/CSK1D3bZhRs/

    Any ideas what I’m doing wrong?

    I can provide a link privately if you need it. I’m only loading one version of jquery (version 1.7.2 if that makes a difference?), also no other errors from what I can see.

    Kind thanks,
    Chris

    http://wordpress.org/extend/plugins/jquery-colorbox/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Working for images,not for YouTube?’ is closed to new replies.