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:
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.
- The topic ‘Working for images,not for YouTube?’ is closed to new replies.