English  Italiano  Français  Español  Dansk  Deutsch  Deutsch  Português  Suomi 
Video Lightbox

How can I make embed video in website fire from a hotlink?

Nov 18, 2011

Q: How can I make lightbox gallery fire without a thumbnail. I would like to fire them from a hotlink?
Could you give me the replacement code or an example of a hotlink to start either of your solutions?

A: To start Video LightBox onclick from link/image:

1) Change the following code in engine/js/videolightbox.js

$("#videogallery a[rel]")


$("#videogallery a[rel],#watch")

2) Specify the link/image with the id="watch":

<a rel="#voverlay" id="watch" href="http://www.youtube.com/v/jp-qh3heb04?autoplay=1&rel=0" title="2012 Ford Mustang Boss 302
in Action">
Click to start Video Gallery</a>