You are here

function emaudio_odeo_preview in Embedded Media Field 6

Same name and namespace in other branches
  1. 5 contrib/emaudio/providers/odeo.inc \emaudio_odeo_preview()
  2. 6.3 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.

$width: The width to display the audio.

$height: The height to display the audio.

$field: The field info from the requesting node.

$item: The actual content from the field.

Return value

The html of the embedded audio.

File

contrib/emaudio/providers/odeo.inc, line 152
This include processes Odeo audio files for use by emaudio.module.

Code

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