You are here

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

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

Implementation of hook_theme().

File

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

Code

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