You are here

function theme_video_cck_veoh_flash in Embedded Media Field 5

2 theme calls to theme_video_cck_veoh_flash()
video_cck_veoh_preview in contrib/video_cck/providers/veoh.inc
video_cck_veoh_video in contrib/video_cck/providers/veoh.inc

File

contrib/video_cck/providers/veoh.inc, line 65

Code

function theme_video_cck_veoh_flash($embed, $width, $height, $autoplay) {
  if ($embed) {
    $autoplay = $autoplay ? '&videoAutoPlay=1' : '&videoAutoPlay=0';
    $output .= '<embed src="http://www.veoh.com/videodetails2.swf?permalinkId=' . $embed . '&id=9183600&player=videodetailsembedded' . $autoplay . '" allowFullScreen="true" width="' . $width . '" height="' . $height . '" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
  }
  return $output;
}