function html5_media_library in HTML5 Media 7
Implements hook_library
File
- ./
html5_media.module, line 30
Code
function html5_media_library() {
$path = drupal_get_path('module', 'html5_media') . '/player';
return array(
'html5_player' => array(
'title' => 'Media Player',
'version' => '0.1',
'js' => array(
$path . '/bin/minplayer.compressed.js' => array(
'group' => JS_LIBRARY,
),
),
'dependencies' => array(
array(
'system',
'ui.slider',
),
),
),
'html5_player_debug' => array(
'title' => 'Media Player (Debug Mode)',
'version' => '0.1',
'js' => array(
$path . '/src/minplayer.compatibility.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.flags.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.async.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.plugin.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.display.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.image.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.file.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.playLoader.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.players.base.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.players.html5.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.players.flash.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.players.minplayer.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.players.youtube.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.players.vimeo.js' => array(
'group' => JS_LIBRARY,
),
$path . '/src/minplayer.controller.js' => array(
'group' => JS_LIBRARY,
),
),
'dependencies' => array(
array(
'system',
'ui.slider',
),
),
),
);
}