function theme_emaudio_odeo_flash in Embedded Media Field 5
Same name and namespace in other branches
- 6.3 contrib/emaudio/providers/odeo.inc \theme_emaudio_odeo_flash()
- 6 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(). This actually displays the full/normal-sized video we want, usually on the default page view.
- emaudio_odeo_preview in contrib/
emaudio/ providers/ odeo.inc - Implementation of hook emaudio_odeo_preview(). This actually displays the preview-sized video we want, commonly for the teaser.
File
- contrib/
emaudio/ providers/ odeo.inc, line 60
Code
function theme_emaudio_odeo_flash($embed, $width, $height, $autoplay) {
if ($embed) {
/* if ($autoplay) {
$autoplay_value = '&autostart=1';
}*/
$output .= "\n <object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0\"width=\"{$width}\" height=\"{$height}\" id=\"wimpy\" align=\"center\">\n <param name=\"quality\" value=\"high\" />\n <param name=\"width\" value=\"{$width}\" />\n <param name=\"height\" value=\"{$height}\" />\n <param name=\"name\" value=\"odeo_player_black\" />\n <param name=\"allowScriptAccess\" value=\"always\" />\n <param name=\"wmode\" value=\"transparent\" />\n <embed src=\"http://odeo.com/flash/audio_player_black.swf\" \n quality=\"high\" width=\"322\" height=\"54\" \n name=\"odeo_player_black\" align=\"middle\" \n allowScriptAccess=\"always\" wmode=\"transparent\" \n type=\"application/x-shockwave-flash\" flashvars=\"type=audio&id=" . $embed . "\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n </object>\n \n";
}
return $output;
}