You are here

function jw_player_theme in JW Player 8

Same name and namespace in other branches
  1. 7.2 jw_player.module \jw_player_theme()
  2. 7 jw_player.module \jw_player_theme()

Implements hook_theme().

File

./jw_player.module, line 12
Adds a theme function which allows theme developers to use the JW Player.

Code

function jw_player_theme() {
  return array(
    'jw_player' => array(
      'variables' => array(
        'preset' => '',
        'file_url' => '',
        'file_mime' => '',
        'file' => NULL,
        'item' => NULL,
        'options' => array(),
        'html_id' => '',
      ),
      'template' => 'jw_player',
    ),
  );
}