You are here

function emvideo_lastfm_preview in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/providers/lastfm.inc \emvideo_lastfm_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/lastfm.inc, line 165
Provide support for Last.fm to the emfield.module.

Code

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