function audiofield_jplayer in AudioField 7
Callback function for AudioField jPlayer player.
1 string reference to 'audiofield_jplayer'
- audiofield_players in ./
audiofield.players.inc - Implements hook_audiofield_players().
File
- ./
audiofield.players.inc, line 438 - Declares the available audio players for the Audio Field module.
Code
function audiofield_jplayer($player_path, $audio_file, $options) {
return theme('jplayer', array(
'entity_type' => $options['entity_type'],
'entity' => $options['entity'],
'field_name' => $options['instance']['field_name'],
'items' => array(
$options['item'],
),
'settings' => array(
'autoplay' => 0,
'solution' => 'html, flash',
'preload' => 'metadata',
'volume' => 80,
'muted' => FALSE,
'repeat' => 'none',
'backgroundColor' => '000000',
'mode' => 'playlist',
'continuous' => FALSE,
),
));
}