You are here

function emvideo_dailymotion_preview in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/providers/dailymotion.inc \emvideo_dailymotion_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/dailymotion.inc, line 165
This include processes dailymotion media files for use by emfield.module.

Code

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