More information please.
Browser type, OS, PHP version, jQuery version, WordPress version, any error messages.
Please note that video does work as can be seen here: http://www.23systems.net/wordpress-plugins/lightbox-plus-for-wordpress/demos/
So there must be some other issue either with the browser or a conflict of some sort.
Firefox 18
Windows 8 Pro
Lightbox Plus 2.5.5
WordPress 3.4.2
PHP 5.2.9
jQuery 1.7.2
The site loads only:
$("a[rel*=lightbox]").colorbox({transition:"fade",innerWidth:"560",innerHeight:"315",initialWidth:"30%",initialHeight:"30%",maxWidth:"90%",maxHeight:"90%",opacity:0.8,fixed:true});
It does not add the code for the class lbpModal
.
Maybe an option I need to enable?
Use Secondary Lightbox should be checked as well. Other than that it should be it. If that’s not it I’ll see what I can dig up. Thanks for the information!
Hi, we have the same issue. Managed to make Lightbox load the Youtube videos properly.
1. Enable a Secondary Lightbox
2. Follow all the requirements for video lightboxing
3. In the Secondary Lightbox Settings setting, in the Other tab, confirm what your secondary class name is. My default setting happens to be lbp_secondary.
4. I applied this to my Youtube lightbox, instead of the rel=”lbpModal”, like so:
<a href="http://www.youtube.com/embed/p2GLcFZQd3Y" class="lbp_secondary">
<img src="http://img.youtube.com/vi/p2GLcFZQd3Y/hqdefault.jpg" width="700" height="320"/>
</a>
5. Saved everything, refreshed my browser and it works! 😀
Hope this helps.
@mike Padua – that is correct. Unfortunately I’m way behind in creating decent documentation.
@mike Padua, Thank you, your answer was exactly what I was looking for.