function background_video_libraries_info in Background Video 7
Implements hook_libraries_info().
This function returns the informaion about the external library jquery-videobackground.
File
- ./
background_video.module, line 39 - This file provides basic functionality.
Code
function background_video_libraries_info() {
$libraries['jquery-videobackground'] = array(
'name' => 'jquery-videobackground',
'vendor url' => 'https://github.com/georgepaterson/jquery-videobackground',
'download url' => 'https://github.com/georgepaterson/jquery-videobackground/archive/master.zip',
'version arguments' => array(
'file' => 'script/jquery.videobackground.js',
'pattern' => '/jQuery Video Background v(\\d+\\.+\\d+)/',
'lines' => 3,
),
'version arguments' => array(
'file' => 'external/jquery.js',
'pattern' => '/jQuery v(\\d+\\.+\\d+)/',
),
'files' => array(
'js' => array(
'script/jquery.videobackground.js',
),
'css' => array(
'themes/ui-darkness/jquery-ui-1.8.12.custom.css',
'themes/jquery.videobackground.css',
),
),
);
return $libraries;
}