You are here

function videojs_uninstall in Video.js (HTML5 Video Player) 7.3

Same name and namespace in other branches
  1. 6.2 videojs.install \videojs_uninstall()
  2. 6 videojs.install \videojs_uninstall()
  3. 7 videojs.install \videojs_uninstall()
  4. 7.2 videojs.install \videojs_uninstall()

Implements hook_uninstall().

File

./videojs.install, line 43
Installation file for Video.js module.

Code

function videojs_uninstall() {
  variable_del('videojs_location');
  variable_del('videojs_directory');
  variable_del('videojs_cdn_version');
  module_load_include('inc', 'videojs', 'includes/videojs.utility');
  $options = array_keys(videojs_utility::getDisplaySettings());
  foreach ($options as $key) {
    variable_del('videojs_' . $key);
  }

  // Obsolete variables.
  variable_del('videojs_skin');
}