You are here

function theme_emvideo_shadowbox in Embedded Media Field 6

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

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

1 theme call to theme_emvideo_shadowbox()
theme_emthumb_imagecache_formatter_shadowbox in contrib/emthumb/emthumb.theme.inc
Returns the imagecache image linked to a modal shadowbox.

File

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

Code

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