function swftools_swftools_preprocess_generic_mp3 in SWF Tools 6.3
Implementation of hook_swftools_preprocess_[player]().
File
- includes/
swftools.genericplayers.inc, line 99 - Enables SWF Tools support for built-in generic players.
Code
function swftools_swftools_preprocess_generic_mp3(&$data) {
// Attach file url of the content to display to flashvars
$data['flashvars']['file_url'] = $data['othervars']['file_url'];
$data['flashvars']['autostart'] = isset($data['flashvars']['autostart']) ? $data['flashvars']['autostart'] : variable_get('generic_mp3_autostart', FALSE) ? 'true' : 'false';
}