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

How to add video player for my website into .shtml, .php, and .asp pages

Dec 05, 2012

Q: When you choose to put the code directly in a web page it only will pick up .htm and .html pages. It needs to also pick up .shtml, .php, and .asp pages plus maybe more. I use a lot of .php pages full of standard html code because I can mix in php code when I need it.

A: It's possible to insert VideolLightBox into these pages manually:

1) open the page in your program
2) open html source code of the page
3) add several rows of code:

Copy code for the HEAD section and paste it inside the HEAD section of you own webpage, for example:



...
<!-- Start VideoLightBox.com HEAD section -->
<link rel="stylesheet" href="engine/css/videolightbox.css" type="text/css" />
<style type="text/css">#videogallery a#videolb{display:none}</style>
<link rel="stylesheet" type="text/css" href="engine/css/overlay-minimal.css"/>
<script src="engine/js/jquery.tools.min.js" type="text/javascript"></script>
<script src="engine/js/swfobject.js" type="text/javascript"></script>
<!-- make all links with the 'rel' attribute open overlays -->
<script src="engine/js/videogallery.js" type="text/javascript"></script>
<!-- End VideoLightBox.com HEAD section -->
...
</head>


Copy code for the BODY section and paste it inside the Body section of you own webpage in the place where you want to have a gallery, for example:

<body>
...
<!-- Start VideoLightBox.com BODY section -->
<div id="videogallery">
...
</div>
<!-- End VideoLightBox.com BODY section -->
...
</body>


Copy index_videolb into the same folder with your own webpage.

That's all.

Related