You are here

function theme_emvideo_video_thumbnail_url in Embedded Media Field 6.2

Same name and namespace in other branches
  1. 6.3 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,
  ));
}