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

Can I link html video to a piece of text instead of thumbnails?

Dec 02, 2011

Q: Can I link the gallery to a piece of text instead of thumbnails?

A: You can start Video LightBox onclick from link/image:

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

$("#videogallery a[rel]")


to

$("#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>

Related