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

Is it possible to open the video lightbox gallery from the button?

Jul 31, 2013

Q: Dear Support,

I test your program and I am interested in it. I would like to know is it possible to start the gallery website builder software using the button, not the thumbnail, so the user can click on it and open the gallery?

A: To start the gallery from the button you should:

Open your html in any text editor and set the button instead of thumbnail you want to use as a button, for example, you should change:

<a class="voverlay" href="http://www.youtube.com/v/31aWy9lcyJk?autoplay=1&rel=0&enablejsapi=1&playerapiid=ytplayer" title="How to Add Video to Your Website with Video LightBox .com"><img src="index_videolb/thumbnails/0.png" alt="How to Add Video to Your Website with Video LightBox .com" /><span></span></a>



to:

<a class="voverlay" href="http://www.youtube.com/v/31aWy9lcyJk?autoplay=1&rel=0&enablejsapi=1&playerapiid=ytplayer" title="How to Add Video to Your Website with Video LightBox .com"><button type="button">Click to watch the video</button><span></span></a>

Related