You are here

function lightbox2_acidfree_video in Lightbox2 6

Same name and namespace in other branches
  1. 5.2 lightbox2.module \lightbox2_acidfree_video()

Display the video object.

Displays the video object for a specified nid. It is used for displaying videos in acidfree lists in a lightbox when the thumbnail is clicked on. It is only triggered for the url 'node/%nid/lightframevideo'.

Parameters

$node: The $node object.

2 string references to 'lightbox2_acidfree_video'
lightbox2_menu in ./lightbox2.module
Implementation of hook_menu().
lightbox2_uninstall in ./lightbox2.install
Implementation of hook_uninstall().

File

./lightbox2.module, line 1180
Enables the use of lightbox2 which places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths.

Code

function lightbox2_acidfree_video($node) {
  print theme('video_player', $node);
}