You are here

function theme_emvideo_lightbox2 in Embedded Media Field 6.2

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/emvideo.theme.inc \theme_emvideo_lightbox2()
  2. 6 contrib/emvideo/emvideo.theme.inc \theme_emvideo_lightbox2()

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

1 theme call to theme_emvideo_lightbox2()
theme_emthumb_imagecache_formatter_lightbox2 in contrib/emthumb/emthumb.theme.inc
Returns the imagecache image linked to a modal lightbox2.

File

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

Code

function theme_emvideo_lightbox2($field, $item, $formatter, $node, $options = array()) {
  $options['modal'] = 'lightbox2';
  return theme('emvideo_modal_generic', $field, $item, $formatter, $node, $options);
}