Page 1 of 1

How do I play FLVs?

Posted: Sat Nov 24, 2007 3:17 am
by StarVoid
I currently have Dreamhost web hosting. I upload all my videos to my site, and DH has a converting script which makes all the videos FLVs. It then outputs a nice bit of code to embed videos. But I am having the worst time trying to get videos in a CMS page. The FLVPlayer module is horribly confusing as it has neither a player nor way to upload videos.

I just need a way to play FLVs in a player. I have numerous FLVs and want different categories displayed on different pages. Any help is appreciated.

-SV

Oh and when I put this in the html code box:

Code: Select all

<__script__ src="https://media.dreamhost.com/ufo.js" type="text/javascript"></__script> 	<p id="mpeg1video_480x360.flv"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p> <__script__ type="text/javascript">   var FO = { movie:"https://media.dreamhost.com/mediaplayer.swf",width:"320",height:"240",majorversion:"7",build:"0",bgcolor:"#FFFFFF",              flashvars:"file=http://www.mysite.com/videos/2007/mpeg1video_480x360.flv&showdigits=true&autostart=false" }; UFO.create(FO,"cheney_mpeg1video_480x360.flv"); </__script>
I get this error:
string(364) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: movie:"https://media.dreamhost.com/mediaplayer ... r:"#FFFFFF", flashvars:"file=http://www.mysite.com/videos/2007/mpeg1 ... tart=false" (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

Re: How do I play FLVs?

Posted: Sat Nov 24, 2007 8:11 am
by alby
StarVoid wrote: Oh and when I put this in the html code box:

Code: Select all

<__script__ src="https://media.dreamhost.com/ufo.js" type="text/javascript"></__script> 	<p id="mpeg1video_480x360.flv"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p> <__script__ type="text/javascript">   var FO = { movie:"https://media.dreamhost.com/mediaplayer.swf",width:"320",height:"240",majorversion:"7",build:"0",bgcolor:"#FFFFFF",              flashvars:"file=http://www.mysite.com/videos/2007/mpeg1video_480x360.flv&showdigits=true&autostart=false" }; UFO.create(FO,"cheney_mpeg1video_480x360.flv"); </__script>
Around your code with {literal} ... code ... {/literal}

Alby