Flashvideo & Flowplayer no Parameters?
mickna
Joined: 2007-05-06
Posts: 1 |
Posted: Sun, 2007-05-06 11:45 |
Hi there! I've installes flashvideo and would like to use Flowplayer (sorry suprsidr! For me your player is too fancy and heavy) I found the posting from suprsidr to get the Flowplayer work (BTW: Thank U!) However, I can't pipe any Parameters. Tried it in the Line from suprsidr - no effect. The video starts after loading Same at this location (line 136 to 143 in FlashVideoRenderer.class:
width="100%%" height="100%%" id="%s"%s%s>
<param name="movie" value="%s"/>
<param name="FlashVars" value="%s"/>
<param name="quality" value="high"/>
<param name="scale" value="noscale"/>
<param name="salign" value="lt"/>
<param name="wmode" value="transparent"/>
<param name="allowScriptAccess" value="always"/>
<param name="autoPlay" value="false"/>
Can anyone tell me, where to set the parameters? THX, |
|
Posts: 3
replace
$flashVars = sprintf('config={videoFile: \'%s\'}&autoPlay=false&loop=false',
with this:
$flashVars = sprintf('config={videoFile: \'%s\', autoPlay: \'false\', autoRewind: \'true\', loop: \'false\'}',
In my G2 "autoPlay:false" parameters is not work but the others is ok.
Posts: 7
I use FlowPlayer 2.1.1 and I had to set the flashvars this way to work:
$flashVars = sprintf('config={videoFile: \'%s\', hideControls: false, autoPlay: false, showMenu: false, showFullScreenButton: false, showVolumeSlider: false}',
urlencode($src));
Posts: 2
I'm using FlowPlayer 3.1.2. The syntax changed for the flashVars, try this:
$flashVars = sprintf( "config={ 'clip':{'scaling':'fit', 'url':'%s'}}",
urlencode($src));
The scaling 'fit' preserves the aspect ratio of the movie.
Find all "clip" properties and default values of FlowPlayer here:
http://www.flowplayer.org/documentation/api/clip.html