You are here

function emaudio_podcastalley_preview in Embedded Media Field 6

Same name and namespace in other branches
  1. 5 contrib/emaudio/providers/podcastalley.inc \emaudio_podcastalley_preview()
  2. 6.3 contrib/emaudio/providers/podcastalley.inc \emaudio_podcastalley_preview()

Implementation of hook emaudio_podcastalley_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/podcastalley.inc, line 163
This include processes Podcastalley audio files for use by emaudio.module.

Code

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