function theme_video_cck_tudou_flash in Embedded Media Field 5
the embedded flash displaying the tudou video
2 theme calls to theme_video_cck_tudou_flash()
- video_cck_tudou_preview in contrib/
video_cck/ providers/ tudou.inc - hook video_cck_PROVIDER_video this actually displays the preview-sized video we want, commonly for the teaser
- video_cck_tudou_video in contrib/
video_cck/ providers/ tudou.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/ tudou.inc, line 77
Code
function theme_video_cck_tudou_flash($embed, $width, $height, $autoplay) {
if ($embed) {
$output .= "\n <object width=\"{$width}\" height=\"{$height}\">\n <param name=\"movie\" value=\"http://www.tudou.com/v/{$embed}\"></param>\n <param name=\"allowScriptAccess\" value=\"always\"></param>\n <param name=\"wmode\" value=\"transparent\"></param>\n <embed src=\"http://www.tudou.com/v/{$embed}\" type=\"application/x-shockwave-flash\" width=\"{$width}\" height=\"{$height}\" allowFullScreen=\"true\" wmode=\"transparent\" allowScriptAccess=\"always\"></embed>\n </object>\n ";
}
return $output;
}