You are here

function videojs_theme in Video.js (HTML5 Video Player) 7

Same name and namespace in other branches
  1. 8 videojs.module \videojs_theme()
  2. 6.2 videojs.module \videojs_theme()
  3. 6 videojs.module \videojs_theme()
  4. 7.3 videojs.module \videojs_theme()
  5. 7.2 videojs.module \videojs_theme()

Implements hook_theme().

File

./videojs.module, line 31
Provides an HTML5-compatible with Flash-fallback video player.

Code

function videojs_theme() {
  return array(
    'videojs' => array(
      'variables' => array(
        'items' => NULL,
        'player_id' => NULL,
        'attributes' => NULL,
      ),
      'template' => 'theme/videojs',
      'file' => 'includes/videojs.theme.inc',
    ),
    'videojs_view' => array(
      'variables' => array(
        'items' => NULL,
        'player_id' => NULL,
        'attributes' => NULL,
      ),
      'template' => 'theme/videojs',
      'file' => 'includes/videojs.theme.inc',
    ),
  );
}