function audiofield_html5_audio in AudioField 7
Callback function for AudioField HTML5 player.
1 string reference to 'audiofield_html5_audio'
- audiofield_players in ./
audiofield.players.inc - Implements hook_audiofield_players().
File
- ./
audiofield.players.inc, line 225 - Declares the available audio players for the Audio Field module.
Code
function audiofield_html5_audio($player_path, $audio_path, $options) {
return theme('audiofield_html5_audio', array(
'audio_file' => file_create_url($audio_path),
'download_access' => $options['display']['settings']['download_link'] && user_access('download all audio files'),
));
}