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!)
(http://gallery.menalto.com/node/61786#comment-227282

However, I can't pipe any Parameters.
If I wanna change autoplay to false there is no effect at all.

Tried it in the Line from suprsidr - no effect. The video starts after loading
$flashVars = sprintf('config={videoFile: \'%s\'}&autoPlay=false&loop=false',

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,
mickna

 
feeman
feeman's picture

Joined: 2008-03-01
Posts: 3
Posted: Mon, 2008-03-03 15:14

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.

 
leine

Joined: 2008-07-20
Posts: 7
Posted: Sun, 2008-07-20 21:44

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));

 
weisk

Joined: 2003-09-03
Posts: 2
Posted: Fri, 2009-08-14 11:16

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