function _swftools_flowplayer3_options in SWF Tools 6.3
Options used to populate the select elements of the form above
They are collected together here in a single array to make them easier to find!
Return value
array An array of options for use on the flowplayer3 admin form.
2 calls to _swftools_flowplayer3_options()
- swftools_flowplayer3_admin_settings in flowplayer3/
swftools_flowplayer3.admin.inc - Menu callback for the Flowplayer 3 settings form.
- swftools_flowplayer3_profile_form in flowplayer3/
swftools_flowplayer3.admin.inc
File
- flowplayer3/
swftools_flowplayer3.admin.inc, line 161 - Configuration settings for Flowplayer 3.
Code
function _swftools_flowplayer3_options() {
// Options for radios
$options = array(
'bool' => array(
'true' => t('true'),
'false' => t('false'),
),
'enabled' => array(
'true' => t('Enabled'),
'false' => t('Disabled'),
),
'accessible' => array(
SWFTOOLS_ACCESSIBLE_DISABLED => t('Disabled'),
SWFTOOLS_ACCESSIBLE_HIDDEN => t('Enabled and hidden'),
SWFTOOLS_ACCESSIBLE_VISIBLE => t('Enabled and visible'),
),
'visible' => array(
1 => t('Visible'),
0 => t('Hidden'),
),
'scaling' => array(
'fit' => t('Fit - fit to window by preserving the aspect ratio encoded in the file\'s metadata.'),
'half' => t('Half - half-size (preserves aspect ratio)'),
'orig' => t('Original - use the dimensions encoded in the file. If it is too big for the available space it is scaled using the \'fit\' option.'),
'scale' => t('Scale - Scale the video to fill all available space. Ignores the dimensions in the metadata.'),
),
'linkWindow' => array(
'_blank' => t('_blank - a new window.'),
'_parent' => t('_parent - the parent of the current window.'),
'_self' => t('_self - the current frame in the current window.'),
'_top' => t('_top - the top level frame in the current window.'),
),
'gradient' => array(
'none' => t('None'),
'low' => t('Low'),
'medium' => t('Medium'),
'high' => t('High'),
),
'autoHide' => array(
'never' => t('Never - the control bar is always shown.'),
'always' => t('Always - the control bar will always hide itself when not in use.'),
'fullscreen' => t('Fullscreen - the control will be only autohide during full screen playback.'),
),
'backgroundRepeat' => array(
'no-repeat' => 'no-repeat',
'repeat' => 'repeat',
),
);
return $options;
}