Check this link here:
http://videobox-lb.sourceforge.net/
I have also included steps:
1. Download the .zip bellow (Videobox 1.1) and extract it
2. Put these in the top of your website (be sure to upload the files):
HTML Code:
<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/videobox.js"></script>
<link rel="stylesheet" href="css/videobox.css" type="text/css" media="screen" />
2. Put this where you want a link
HTML Code:
<a href="http://www.youtube.com/watch?v=uhi5x7V3WXE" rel="vidbox" title="The amazing trailer of '300'."><img src="http://img.youtube.com/vi/uhi5x7V3WXE/2.jpg" alt="" /></a>
I have also color codded the link.
Code:
<a href="http://www.youtube.com/watch?v=uhi5x7V3WXE" rel="vidbox" title="The amazing trailer of '300'."><img src="http://img.youtube.com/vi/uhi5x7V3WXE/2.jpg" alt="" /></a>
RED is what video you want to play, so put the URL (not embed) or path to flv there. The GREEN is the title of the window, while the BLUE is the image for the link (like a video preview). If you want a text link and not an image link, remove the img tag
Bookmarks