function theme_emvideo_video_thumbnail_url in Embedded Media Field 6.3
Same name and namespace in other branches
- 6.2 contrib/emvideo/emvideo.theme.inc \theme_emvideo_video_thumbnail_url()
Returns the absolute URL to the video thumbnail.
File
- contrib/
emvideo/ emvideo.theme.inc, line 51 - This defines the various theme functions for Embedded Video Field (emvideo).
Code
function theme_emvideo_video_thumbnail_url($field, $item, $formatter, $node, $options = array()) {
$options['return_url'] = TRUE;
$options['raw'] = TRUE;
$path = theme('emvideo_video_thumbnail', $field, $item, $formatter, $node, TRUE, $options);
return url($path, array(
'absolute' => TRUE,
));
}