You are here

function emaudio_soundclick_preview in Embedded Media Field 5

Implementation of hook emaudio_soundclick_preview(). This actually displays the preview-sized video we want, commonly for the teaser.

Parameters

$embed the video code for the audio to embed.: @param $width the width to display the audio. @param $height the height to display the audio. @param $field the field info from the requesting node. @param $item the actual content from the field. @return the html of the embedded audio.

File

contrib/emaudio/providers/soundclick.inc, line 120

Code

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