function theme_emaudio_odeo_flash in Embedded Media Field 6
Same name and namespace in other branches
- 5 contrib/emaudio/providers/odeo.inc \theme_emaudio_odeo_flash()
- 6.3 contrib/emaudio/providers/odeo.inc \theme_emaudio_odeo_flash()
The embedded flash displaying the odeo audio.
Default width is 322, height is 54.
2 theme calls to theme_emaudio_odeo_flash()
- emaudio_odeo_audio in contrib/
emaudio/ providers/ odeo.inc - Implementation of hook emaudio_odeo_audio().
- emaudio_odeo_preview in contrib/
emaudio/ providers/ odeo.inc - Implementation of hook emaudio_odeo_preview().
File
- contrib/
emaudio/ providers/ odeo.inc, line 76 - This include processes Odeo audio files for use by emaudio.module.
Code
function theme_emaudio_odeo_flash($embed, $width, $height, $autoplay) {
if ($embed) {
/*
if ($autoplay) {
$autoplay_value = '&autostart=1';
}
*/
$output .= '<object type="application/x-shockwave-flash" data="http://static.odeo.com/flash/player_audio_embed_v2.swf" width="325" height="60" id="odeo_audio">
<param name="movie" value="http://static.odeo.com/flash/player_audio_embed_v2.swf" />
<param name="FlashVars" value="jStr=[{\'id\': ' . $embed . '}]" />
</object>';
}
return $output;
}