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

Is their a way to make the html web video thumbnail a text link instead

Dec 08, 2011

Q: I am considering buying your software however I want to verify..
Is their a way to make the thumbnail a text link instead, or does it have to be a thumbnail of the video?
Meaning: Click Link, Video Pops Up?
Please advise

A: Actually, it's possible.

You can start your Video LightBox onclick from your own images/links.
I created an example for you.
Just rename video.txt to video.zip. We renamed it to pass through your spam filter.

See how you should start the gallery onClick from the link.

1) Change the following code in the engine\js\videogallery.js

$("#videogallery a[rel]")


to

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



2) Specify the link/image:

<a rel="#voverlay" href="http://www.youtube.com/v/31aWy9lcyJk" id="watch"
     title="Watch Video">Video</a>



3) Use 'display: none;' property for your gallery in the HEAD section of VisualLightBox. Just change the following code:

#videogallery a img{
                          display:block;
                          border:none;
                          margin:0;
                        }



to:

#videogallery a img{
                          display:none;
                          border:none;
                          margin:0;
                        }

Related