function theme_video_cck_metacafe_flash in Embedded Media Field 5
2 theme calls to theme_video_cck_metacafe_flash()
- video_cck_metacafe_preview in contrib/
video_cck/ providers/ metacafe.inc - video_cck_metacafe_video in contrib/
video_cck/ providers/ metacafe.inc
File
- contrib/
video_cck/ providers/ metacafe.inc, line 48
Code
function theme_video_cck_metacafe_flash($embed, $width, $height, $autoplay) {
if ($embed) {
$autoplay = $autoplay ? '?playerVars=autoPlay=yes' : '';
$output .= '<embed src="http://www.metacafe.com/fplayer/' . $embed . '.swf' . $autoplay . '" width="' . $width . '" height="' . $height . '" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>';
}
return $output;
}