You are here

function jplayer_theme in jPlayer 6

Same name and namespace in other branches
  1. 7.2 jplayer.module \jplayer_theme()

Implementation of hook_theme().

File

./jplayer.module, line 32
Provides an HTML5-compatible with Flash-fallback audio player.

Code

function jplayer_theme() {
  return array(
    'jplayer_formatter_single' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'includes/jplayer.theme.inc',
    ),
    'jplayer_single' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'template' => 'theme/jplayer',
      'file' => 'includes/jplayer.theme.inc',
    ),
    'jplayer_formatter_playlist' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'includes/jplayer.theme.inc',
    ),
    'jplayer_playlist' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'template' => 'theme/jplayer',
      'file' => 'includes/jplayer.theme.inc',
    ),
    'jplayer_view_playlist' => array(
      'arguments' => array(
        'view' => NULL,
        'items' => NULL,
      ),
      'template' => 'theme/jplayer',
      'file' => 'includes/jplayer.theme.inc',
    ),
  );
}