You are here

function theme_emvideo_livevideo_flash in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/providers/livevideo.inc \theme_emvideo_livevideo_flash()

the embedded flash displaying the livevideo video

2 theme calls to theme_emvideo_livevideo_flash()
emvideo_livevideo_preview in contrib/emvideo/providers/livevideo.inc
hook emvideo_PROVIDER_video this actually displays the preview-sized video we want, commonly for the teaser
emvideo_livevideo_video in contrib/emvideo/providers/livevideo.inc
hook emvideo_PROVIDER_video this actually displays the full/normal-sized video we want, usually on the default page view

File

contrib/emvideo/providers/livevideo.inc, line 112
This include processes livevideo media files for use by emfield.module.

Code

function theme_emvideo_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;
}