Re: Playing Flash flv files using FlowPlayer

Big Twinz
Thu, 27 Dec 2007 00:43:22 -0000

Figured it out. In case anyone else has this problem:
Following worked for me in the partial (Note video is hardcoded right
now ):


<script type="text/javascript"
src="/player/html/swfobject.js">

  This will be replaced by the player.


//
var fo = new SWFObject("/player/FlowPlayer.swf",
"FlowPlayer",
"468", "350", "7", "#ffffff", true);
// need this next line for local testing, it''s optional if your swf is
on the same domain as your html page
fo.addParam("allowScriptAccess", "always");
fo.addParam("loop", false);
fo.addVariable("config", "{ playList: [ {overlayId:
''play'' }, { url:
''/video/sample.flv'' } ], initialScale:
''scale'' }");
fo.write("flowplayerholder");
//