function emaudio_soundcloud_thumbnail in Media: SoundCloud 6
Implementation of hook_emaudio_PROVIDER_thumbnail().
Returns the external url for a thumbnail of a specific audio. TODO: make the args: ($embed, $field, $item), with $field/$item provided if we need it, but otherwise simplifying things.
Parameters
$field: The field of the requesting node.
$item: The actual content of the field from the requesting node.
Return value
A URL pointing to the thumbnail.
File
- providers/
soundcloud.inc, line 200 - This include processes Soundcloud audio files for use by emaudio.module.
Code
function emaudio_soundcloud_thumbnail($field, $item, $formatter, $node, $width, $height) {
return $tn;
}