You are here

function emaudio_soundclick_thumbnail in Embedded Media Field 5

Implementation of hook emaudio_soundclick_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.: @param $item the actual content of the field from the requesting node. @return a URL pointing to the thumbnail.

File

contrib/emaudio/providers/soundclick.inc, line 91

Code

function emaudio_soundclick_thumbnail($field, $item, $formatter, $node, $width, $height) {
  return $tn;
}