You are here

function emvideo_archive_preview in Embedded Media Field 6

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/archive.inc, line 391
This is an archive.org provider include file for Embedded Media Video.

Code

function emvideo_archive_preview($embed, $width, $height, $field, $item, $node, $autoplay) {
  $output = theme('emvideo_archive_flash', $item, $width, $height, $autoplay);
  return $output;
}