You are here

function jw_player_theme in JW Player 7

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

Implements hook_theme().

File

./jw_player.module, line 39
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(
        'file_object' => NULL,
        'sources' => '',
        'preset' => '',
        'image' => '',
        'html_id' => NULL,
        'options' => array(),
      ),
      'template' => 'theme/jw_player',
    ),
  );
}