Is there a way using the swftools syntax to change the flowplayer controls?

I have no problem making the flowplayer work correctly but when I make the video smaller to display in a block I would like to only remove the player controls. can this be done? (i have done it with flowplayer outside of drupal so i know it is possible: code outside of drupal below)

drupal with swftools code:
print swf('videos/itssimplenew.mp4', array('params' => array('height' => '150', 'width' => '200'), 'icons' => 'false'));

outside of drupal code to disable player controls:

Comments

thinkel6’s picture

my post got cut off. outside of drupal you can control the player controls with the following inside javascipt tags, any way to do it inside swftools within drupal?

flowplayer("player", "videos/flowplayer-3.0.7.swf", {
clip: {
autoPlay: false,
autoBuffering: true

} ,
plugins: { controls: null }

}).controls("htmlControls");

thanks

great module

Stuart Greenfield’s picture

You can't currently use the controls : null format with the SWF Tools implementation of FlowPlayer3. You can turn off controls by targetting them individually by passing their name on 'othervars' - if you target all of them I think you should be able to turn everything off.


print swf('myAudio.mp3', array('othervars' => array('play' => 'false', 'time' => 'false', 'autoPlay' => 'true')));

There are some plans to further extend the FP3 module to support a wider range of plugins too.