user2507316
user2507316

Reputation: 169

How to hide controls in flow player

<param 
name="flashVars" 
value="config={'playlist':['screenshot.jpg',
{'url':'video.mp4','autoPlay':true}]}"
/>

which config key = value, should I put to hide the controls in flowplayer?

Upvotes: 2

Views: 2844

Answers (3)

Aqib
Aqib

Reputation: 354

$f().onLoad(function(){
    $f().getControls().hide(); 
})

Upvotes: 0

user3630038
user3630038

Reputation: 31

This works for me:

<param name="flashVars" value="config={'plugins': {'controls': null}, 'playlist':['screenshot.jpg', {'url':'video.mp4','autoPlay':true,'control':null}]}" />

'control':null should be under config's plugin property

Upvotes: 2

Paul Rad
Paul Rad

Reputation: 4882

According to http://flash.flowplayer.org/plugins/flash/controlbar.html

Simply: 'control':null

So:

<param 
name="flashVars" 
value="config={'playlist':['screenshot.jpg',
{'url':'video.mp4','autoPlay':true,'control':null}]}"
/>

Upvotes: 0

Related Questions