You are here

function emvideo_guba_thumbnail in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/providers/guba.inc \emvideo_guba_thumbnail()

File

contrib/emvideo/providers/guba.inc, line 46
Provide support for the Guba provider to the emfield.module.

Code

function emvideo_guba_thumbnail($field, $item, $formatter, $node, $width, $height) {
  $thumbid = $item['value'];
  $thm = 'http://img.guba.com/public/video/f/58/' . $thumbid . '-m.jpg';
  return $thm;
}