You are here

function video_cck_youtube_preview in Embedded Media Field 5

hook video_cck_PROVIDER_video this actually displays the preview-sized video we want, commonly for the teaser

Parameters

$embed: the video code for the video to embed @param $width the width to display the video @param $height the height to display the video @param $field the field info from the requesting node @param $item the actual content from the field @return the html of the embedded video

File

contrib/video_cck/providers/youtube.inc, line 392

Code

function video_cck_youtube_preview($embed, $width, $height, $field, $item, $autoplay) {
  $output = theme('video_cck_youtube_flash', $embed, $width, $height, $autoplay);
  return $output;
}