videojs_hls.install in Video.js (HTML5 Video Player) 7.2
Same filename and directory in other branches
Installation file for Video.js HTTP Live Streaming module
File
modules/videojs_hls/videojs_hls.installView source
<?php
/**
* @file
* Installation file for Video.js HTTP Live Streaming module
*/
/**
* Implements hook_install().
*
* Makes sure that this module is loaded after the Video.js module.
*/
function videojs_hls_install() {
db_update('system')
->fields(array(
'weight' => 100,
))
->condition('name', 'videojs_hls')
->execute();
}
/**
* Implements hook_uninstall().
*/
function videojs_hls_uninstall() {
variable_del('videojs_hls_delivery_type');
variable_del('videojs_hls_delivery_static_scheme');
variable_del('videojs_hls_delivery_static_path');
}
Functions
Name | Description |
---|---|
videojs_hls_install | Implements hook_install(). |
videojs_hls_uninstall | Implements hook_uninstall(). |