function videojs_libraries_info in Video.js (HTML5 Video Player) 7.3
Same name and namespace in other branches
- 7.2 videojs.module \videojs_libraries_info()
Implements hook_libraries_info().
File
- ./
videojs.module, line 481 - Provides an HTML5-compatible with Flash-fallback video player.
Code
function videojs_libraries_info() {
$libraries = array();
$libraries['video-js'] = array(
'name' => 'Video.js',
'vendor url' => 'http://videojs.com',
'download url' => 'http://videojs.com',
'version arguments' => array(
'file' => 'video.js',
'pattern' => videojs_utility::VERSION_REGEX,
'lines' => 2,
'cols' => 50,
),
'versions' => array(
'2' => array(
'files' => array(
'js' => array(
'video.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.css',
),
),
),
'3' => array(
'files' => array(
'js' => array(
'video.min.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.min.css',
),
),
'variants' => array(
'source' => array(
'files' => array(
'js' => array(
'video.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.css',
),
),
'minified' => array(
'files' => array(
'js' => array(
'video.min.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.min.css',
),
),
),
),
),
),
'4' => array(
'files' => array(
'js' => array(
'video.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.css',
),
),
'variants' => array(
'source' => array(
'files' => array(
'js' => array(
'video.dev.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.css',
),
),
'minified' => array(
'files' => array(
'js' => array(
'video.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.css',
),
),
),
),
),
),
'5' => array(
'files' => array(
'js' => array(
'video.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.css',
),
),
'variants' => array(
'source' => array(
'minified' => array(
'files' => array(
'js' => array(
'video.min.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.min.css',
),
),
),
),
),
),
'6' => array(
'files' => array(
'js' => array(
'video.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.css',
),
),
'variants' => array(
'source' => array(
'minified' => array(
'files' => array(
'js' => array(
'video.min.js' => array(
'group' => JS_LIBRARY,
),
),
'css' => array(
'video-js.min.css',
),
),
),
),
),
),
),
);
return $libraries;
}