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

Is it possible to add several play video on my website on the same page?

Dec 09, 2013

Q: Thats fine, thank you it was a typo, i fixed it. I have another question when I'm uploading the files to the server, i noticed the folders are "data1" and "engine1". Now when i upload 1 video thats ok. How would i upload 2 videos to the same server with the same names, how would i have to change the names so that each video is not picking the code off each other?

A: It is possible to add several video galleries to your page manually only.
They will have different thumbnails but the templates of pop-up window will be the same.

To set up several different galleries on your page you should for the second gallery:
-change id="videogallery", for example to id="videogallery2" (in the second BODY section
of <keyw id=0/>).
-set the same id in the videolightbox.css file:

.videogallery2 {
        width:100%;
        zoom:1;
}
.videogallery2 span{ display:block; }
.videogallery2 a{
        display:-moz-inline-stack;
        display:inline-block;
        zoom:1;
        *display:inline;
        position:relative;
        vertical-align:top;
        margin:5px;
        width:160px;
        font-family:Trebuchet,Tahoma,Arial,sans-serif;
        font-size:11px;
        font-weight:normal;
        text-decoration:none;
        text-align:center;
        opacity:0.87;
}
.videogallery2 a.videolb{display:none}
.videogallery2 a img{
        display:block;
        border:none;
        margin:0;
}
.videogallery2 a:hover{
        opacity:1;
}



-you also should delete the following line from the second <keyw id=0/> HEAD section:

<script src="index1_videolb/jquery.js" type="text/javascript"></script>

Related