You are here

function emaudio_soundcloud_audio in Media: SoundCloud 6

Implementation of hook_emaudio_PROVIDER_audio().

This actually displays the full/normal-sized video we want, usually on the default page view.

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

providers/soundcloud.inc, line 222
This include processes Soundcloud audio files for use by emaudio.module.

Code

function emaudio_soundcloud_audio($embed, $width, $height, $field, $item, $node, $autoplay) {
  return theme('emaudio_soundcloud_flash', $item, $embed, $width, $height, $autoplay);
}