function swftools_wpaudio_init in SWF Tools 6.3
Implementation of hook_init().
Push the script to stop other players on to the page.
File
- wpaudio/
swftools_wpaudio.module, line 255 - Enables SWF Tools support for the WordPress Audio player.
Code
function swftools_wpaudio_init() {
// Add JavaScript to enable auto-close behavior and accessibility
if (variable_get('swftools_always_add_js', SWFTOOLS_ALWAYS_ADD_JS)) {
swftools_wpaudio_add_js();
}
}