function theme_video_cck_livevideo_flash in Embedded Media Field 5
the embedded flash displaying the livevideo video
2 theme calls to theme_video_cck_livevideo_flash()
- video_cck_livevideo_preview in contrib/
video_cck/ providers/ livevideo.inc - hook video_cck_PROVIDER_video this actually displays the preview-sized video we want, commonly for the teaser
- video_cck_livevideo_video in contrib/
video_cck/ providers/ livevideo.inc - hook video_cck_PROVIDER_video this actually displays the full/normal-sized video we want, usually on the default page view
File
- contrib/
video_cck/ providers/ livevideo.inc, line 107
Code
function theme_video_cck_livevideo_flash($embed, $width, $height, $autoplay) {
if ($embed) {
$autostart = $autoplay ? '&autoStart=1' : '';
$output .= '<embed src="http://www.livevideo.com/flvplayer/embed/' . $embed . $autostart . '" type="application/x-shockwave-flash" quality="high" WIDTH="' . $width . '" HEIGHT="' . $height . '" wmode="transparent"></embed>';
}
return $output;
}