I have tried this and other Script´s/Mod´s for installing flash-videos
But the reason is, that mostly only the IE will play those Videos, and sometimes some Upload-Errors by Users...
I have found out a way to make it round with the most browsers and plattforms like Mac and Microsoft.
1. Like in the start-Post you need an Player.
Take the newest from:
http://www.jeroenwijering.com/?item=JW_FLV_Player2. Copy the player.swf to
4images/dataIn this folder you have to copy the swfobject.js too!3. Now you have to create the flv.html , which display your Video.
Simple Copy the jpg.html in
templates/default/media/jpg.html and name it to flv.html
Open it and replace all lines with this code:
<script type="text/javascript" src="http://www.homepage.com/data/swfobject.js"></script>
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type="text/javascript">
var s1 = new SWFObject("http://www.homepage.com/data/player.swf","single","320","255","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","./.{media_src}&bufferlength=4&showdigits=true&autostart=false");
s1.addVariable("width","320");
s1.addVariable("height","255");
s1.addVariable("image","http://www.homepage.com/data/logo.jpg");
s1.write("player1");
</script>
(Be shure to rename the adress in this script to your own!!!
4. Like you see you can add an own Logo-Image which will be shown before the video is starting. Just create one and copy this Image to the folder
/4images/dataIf you would like to play the video automatic, so change
autostart=false"
to
autostart=true"
Working example for an Video-gallery:
http://www.brick-cinema.comIt is possible to change the Player-Controlls with javascript, but for this check the author´s Website