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

Different free video website template on different pages

Feb 14, 2014

Q: I already have VLB installed on a page. When I now put up one more on another page.

I got problem to separate objects on ftp. The "data" and "engine" has the same name and so even. The files in them. Must I rename all? Or...?

Hope you understand my try to explain....

A: You can use different video galleries on different pages.
You should save each gallery in its own directory, for example:

gal1/
gal2/
gal3/
gallery1.html
gallery2.html
gallery3.html

But notice that you should manually add 'gal1/' prefix before each path on your html page
(in html code for video gallery):

<!-- Start VideoLightBox.com HEAD section -->
<link rel="stylesheet" href="gal1/index_videolb/videolightbox.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="gal1/index_videolb/overlay-minimal.css"/>
<script src="gal1/index_videolb/jquery.js" type="text/javascript"></script>
<script src="gal1/index_videolb/swfobject.js" type="text/javascript"></script>
<!-- End VideoLightBox.com HEAD section -->
...
<!-- Start VideoLightBox.com BODY section -->
<div class="videogallery">
<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="gal1/index_videolb/thumbnails/0.png" alt="How to Add Video to Your Website with Video LightBox .com" /><span></span></a>
<a class="videolb" href="http://videolightbox.com">How Embed YouTube Video by VideoLightBox.com v2.1</a>
</div>
<script src="gal1/index_videolb/jquery.tools.min.js" type="text/javascript"></script>
<script src="gal1/index_videolb/videolightbox.js" type="text/javascript"></script>
<!-- End VideoLightBox.com BODY section -->



Also, you can set an unique name for index file. Go to tab "4. Publish" and set unique
value for "Index file name" parameter. VideoLightBox will generate folders with unique
names in this case, so files of different galleries will not be mixed up and you
shouldn't edit HTML code manually.
For example: VideoLightBox will generate "gallery1_videolb" folder for "gallery1.html"
Index file name, "gallery2_videolb" folder - for "gallery2.html" file, etc.

Related