function emaudio_odeo_preview in Embedded Media Field 5
Same name and namespace in other branches
- 6.3 contrib/emaudio/providers/odeo.inc \emaudio_odeo_preview()
- 6 contrib/emaudio/providers/odeo.inc \emaudio_odeo_preview()
Implementation of hook emaudio_odeo_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/ odeo.inc, line 121
Code
function emaudio_odeo_preview($embed, $width, $height, $field, $item, $autoplay) {
$output = theme('emaudio_odeo_flash', $embed, $width, $height, $autoplay);
return $output;
}