You are here

function emvideo_bliptv_thumbnail in Embedded Media Field 6

File

contrib/emvideo/providers/bliptv.inc, line 339
This include processes blip.tv media files for use by emfield.module.

Code

function emvideo_bliptv_thumbnail($field, $item, $formatter, $node, $width, $height, $options = array()) {
  if ($item['data']['emvideo_bliptv_data_version'] >= 1) {
    $tn = $item['data']['thumbnail']['url'];
  }
  else {
    $tn = $item['data']['thumbnail'];
  }
  return $tn;
}