You are here

function theme_video_view in Video 6

Same name and namespace in other branches
  1. 5 video.module \theme_video_view()
  2. 6.2 video.module \theme_video_view()

theme the view of the page to include the video assumes that body was put through prepare in hook_view

Parameters

$node: The node to be displayed.

$teaser: Whether we are to generate a "teaser" or summary of the node, rather than display the whole thing.

$page: Whether the node is being displayed as a standalone page. If this is TRUE, the node title should not be displayed, as it will be printed automatically by the theme system. Also, the module may choose to alter the default breadcrumb trail in this case.

Return value

html

File

./video.module, line 1050
video.module

Code

function theme_video_view($node, $teaser = FALSE, $page = FALSE) {
  return '<div id="video_body">' . $node->body . '</div>';
}