This script allows you to add videoclips to your site using prettyPhoto plug-in.
In order to make the script work, the index-#.html file with a video should contain these lines of HTML code in order to include the jquery.prettyPhoto.js script and the jQuery framework:
The <head> section of the index-#.html (or the section just before the closing </body> tag) file contains these lines of code that initialize the script functionality with basic values:
Below you can see the general HTML script representation:
Here we set up the video player file name video_AS3.swf and the video width and height parameters, video file name (fileVideo) and video description (title). Pay attention: parameter rel=”prettyPhoto” is mandatory.
In order to make the script work, the index-#.html file with a slider should contain these lines of HTML code in order to include the prettyPhoto.css style sheet file: