function theme_emaudio_podomatic_flash in Embedded Media Field 5
Same name and namespace in other branches
- 6.3 contrib/emaudio/providers/podomatic.inc \theme_emaudio_podomatic_flash()
- 6 contrib/emaudio/providers/podomatic.inc \theme_emaudio_podomatic_flash()
the embedded flash displaying the podomatic audio
2 theme calls to theme_emaudio_podomatic_flash()
- emaudio_podomatic_audio in contrib/
emaudio/ providers/ podomatic.inc - hook emaudio_PROVIDER_audio this actually displays the full/normal-sized video we want, usually on the default page view
- emaudio_podomatic_preview in contrib/
emaudio/ providers/ podomatic.inc - hook emaudio_PROVIDER_preview this actually displays the preview-sized video we want, commonly for the teaser
File
- contrib/
emaudio/ providers/ podomatic.inc, line 79
Code
function theme_emaudio_podomatic_flash($embed, $width, $height, $autoplay) {
// <object width="320" height="315"><param name="movie" value="http://www.podOmatic.com/flash/flashcatcher.swf"></param><embed type="application/x-shockwave-flash" src="http://www.podOmatic.com/flash/flashcatcher.swf" width="320" height="315" flashvars="playlist_url=http://funkylondon.podOmatic.com/xspf.xspf" ></embed></object><br /><a href="http://www.podOmatic.com/podcast/embed/funkylondon" style="text-decoration: none"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#0033ff"><strong>Click here to get your own player.</strong></font></a><br><br>
if ($embed) {
/* if ($autoplay) {
$autoplay_value = '&autostart=1';
}*/
$output .= "\n <object type=\"application/x-shockwave-flash\" height=\"{$height}\" width=\"{$width}\" data=\"http://www.podOmatic.com/flash/flashcatcher.swf\" id=\"audioPlayback\">\n <param name=\"movie\" value=\"http://www.podOmatic.com/flash/flashcatcher.swf\">\n <param name=\"allowScriptAcess\" value=\"sameDomain\">\n <param name=\"quality\" value=\"best\">\n <param name=\"bgcolor\" value=\"#FFFFFF\">\n <param name=\"scale\" value=\"noScale\">\n <param name=\"salign\" value=\"TL\">\n <param name=\"FlashVars\" value=\"playlist_url=http://" . $embed . ".podOmatic.com/xspf.xspf\" />\n <param name=\"wmode\" value=\"transparent\" />\n </object>\n";
}
return $output;
}