function theme_emvideo_spike_flash in Embedded Media Field 6.3
Same name and namespace in other branches
- 6 contrib/emvideo/providers/spike.inc \theme_emvideo_spike_flash()
2 theme calls to theme_emvideo_spike_flash()
- emvideo_spike_preview in contrib/
emvideo/ providers/ spike.inc - emvideo_spike_video in contrib/
emvideo/ providers/ spike.inc
File
- contrib/
emvideo/ providers/ spike.inc, line 58 - This include processes Spike media files for use by emfield.module.
Code
function theme_emvideo_spike_flash($embed, $width, $height, $autoplay) {
// TODO: figure out autoplay...
//<embed width="448" height="365" src="http://www.spike.com/efp" quality="high" bgcolor="000000" name="efp" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="flvbaseclip=2952560&"> </embed>
if ($embed) {
$autoplay = $autoplay ? ' autoplay="true"' : '';
$output = '<embed width="' . $width . '" height="' . $height . '" src="http://www.spike.com/efp" quality="high" bgcolor="000000" name="efp" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="flvbaseclip=' . $embed . '"> </embed>';
}
return $output;
}