You are here

function jplayer_library in jPlayer 7.2

Implements hook_library().

File

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

Code

function jplayer_library() {
  $file = _jplayer_get_js();
  $version = jplayer_get_version($file);
  $libraries = array();
  $libraries['jplayer'] = array(
    'title' => 'jPlayer',
    'website' => 'http://www.jplayer.org',
    'version' => $version,
    'js' => array(
      $file => array(),
    ),
  );
  return $libraries;
}