function emvideo_google_thumbnail in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/providers/google.inc \emvideo_google_thumbnail()
File
- contrib/
emvideo/ providers/ google.inc, line 189 - This include processes Google.com media files for use by emfield.module
Code
function emvideo_google_thumbnail($field, $item, $formatter, $node, $width, $height) {
if (isset($item['data']['emvideo_data_version'])) {
$data = $item['data'];
}
else {
$data = emvideo_google_data($field, $item);
}
return $data['thumbnail']['filepath'];
return NULL;
}