function jplayer_field_formatter_info in jPlayer 7.2
Same name and namespace in other branches
- 6 jplayer.module \jplayer_field_formatter_info()
Implements hook_field_formatter_info().
1 call to jplayer_field_formatter_info()
- jplayer_style_plugin::option_definition in includes/
jplayer_style_plugin.inc - Information about options for all kinds of purposes will be held here.
File
- ./
jplayer.module, line 96 - Provides an HTML5-compatible with Flash-fallback audio player.
Code
function jplayer_field_formatter_info() {
return array(
'jplayer_player' => array(
'label' => t('jPlayer - Player'),
'field types' => array(
'file',
'text',
'link_field',
),
'description' => t('Display file fields as an HTML5-compatible with Flash-fallback media player.'),
'settings' => array(
'autoplay' => 0,
'continuous' => 0,
'solution' => 'html, flash',
'preload' => 'metadata',
'volume' => 80,
'muted' => FALSE,
'repeat' => 'none',
'backgroundColor' => '000000',
'mode' => 'playlist',
),
),
);
}