You are here

function _flowplayer_options in SWF Tools 5

Same name and namespace in other branches
  1. 6 flowplayer/flowplayer.module \_flowplayer_options()
  2. 6.2 flowplayer/flowplayer.module \_flowplayer_options()

flashvar and param option arrays. These are used for options settings in the configuration screen.

1 call to _flowplayer_options()
_flowplayer_admin_form in flowplayer/flowplayer.admin.inc

File

flowplayer/flowplayer.module, line 332

Code

function _flowplayer_options() {
  $options['type'] = array(
    'default' => 'default',
    'sound' => 'sound',
    'image' => 'image',
    'video' => 'video',
    'youtube' => 'youtube',
    'camera' => 'camera',
    'http' => 'http',
    'rtmp' => 'rtmp',
  );
  $options['overstretch'] = array(
    'default' => 'default',
    'uniform' => 'uniform',
    'fill' => 'fill',
    'exactfit' => 'exactfit',
    'none' => 'none',
  );
  $options['repeat'] = array(
    'default' => 'default',
    'none' => 'none',
    'list' => 'list',
    'always' => 'always',
  );
  $options['linktarget'] = array(
    'default' => 'default',
    '_self' => '_self',
    '_blank' => '_blank',
    'none' => 'none',
  );
  $options['playlist'] = array(
    'default' => 'default',
    'bottom' => 'bottom',
    'over' => 'over',
    'right' => 'right',
    'none' => 'none',
  );
  $options['controlbar'] = array(
    'default' => 'default',
    'bottom' => 'bottom',
    'over' => 'over',
    'none' => 'none',
  );
  $options['displayclick'] = array(
    'default' => 'default',
    'play' => 'play',
    'link' => 'link',
    'fullscreen' => 'fullscreen',
    'none' => 'none',
    'mute' => 'mute',
    'next' => 'next',
  );
  $options['player'] = array(
    'flowplayer/FlowPlayerClassic.swf' => 'Classic',
    'flowplayer/FlowPlayerDark.swf' => 'Dark',
    'flowplayer/FlowPlayerLight.swf' => 'Light',
    'flowplayer/FlowPlayerLP.swf' => 'LP',
  );
  $options['controlBarGloss'] = array(
    'default' => 'default',
    'high' => 'high',
    'low' => 'low',
    'none' => 'none',
  );
  $options['bool'] = array(
    'default' => 'default',
    'true' => 'true',
    'false' => 'false',
  );
  return $options;
}