function emvideo_vimeo_preview in Embedded Media Field 6.3
Same name and namespace in other branches
- 6 contrib/emvideo/providers/vimeo.inc \emvideo_vimeo_preview()
hook emvideo_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/
emvideo/ providers/ vimeo.inc, line 205 - Provide support for the Vimeo provider to the emfield.module.
Code
function emvideo_vimeo_preview($embed, $width, $height, $field, $item, $node, $autoplay) {
$output = theme('emvideo_vimeo_flash', $embed, $width, $height, $autoplay);
return $output;
}