You are here

videojs_hls.install in Video.js (HTML5 Video Player) 7.3

Same filename and directory in other branches
  1. 7.2 modules/videojs_hls/videojs_hls.install

Installation file for Video.js HTTP Live Streaming module

File

modules/videojs_hls/videojs_hls.install
View 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