You are here

function theme_emvideo_colorbox in Embedded Media Field 6.2

Display the video as a Colorbox modal popup. Requires the Colorbox module.

1 theme call to theme_emvideo_colorbox()
theme_emthumb_imagecache_formatter_colorbox in contrib/emthumb/emthumb.theme.inc
Returns the imagecache image linked to a modal colorbox.

File

contrib/emvideo/emvideo.theme.inc, line 289
This defines the various theme functions for Embedded Video Field (emvideo).

Code

function theme_emvideo_colorbox($field, $item, $formatter, $node, $options = array()) {
  $options['modal'] = 'colorbox-load';
  return theme('emvideo_modal_generic', $field, $item, $formatter, $node, $options);
}