Working for images,not for YouTube?
-
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:
https://www.youtube.com/watch?v=CSK1D3bZhRs
https://www.youtube.com/embed/CSK1D3bZhRs
https://youtube.com/v/CSK1D3bZhRs/
https://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,
Chrishttps://www.ads-software.com/extend/plugins/jquery-colorbox/
- The topic ‘Working for images,not for YouTube?’ is closed to new replies.