You are here

function video_cck_vimeo_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/vimeo.inc, line 199

Code

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