You are here

function videojs_menu in Video.js (HTML5 Video Player) 6

Same name and namespace in other branches
  1. 6.2 videojs.module \videojs_menu()
  2. 7.3 videojs.module \videojs_menu()
  3. 7 videojs.module \videojs_menu()
  4. 7.2 videojs.module \videojs_menu()

Implementation of hook_menu().

File

./videojs.module, line 13
Provides an HTML5-compatible with Flash-fallback video player.

Code

function videojs_menu() {
  $items = array();
  $items['admin/settings/videojs'] = array(
    'title' => 'Video.js',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'videojs_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'description' => 'Configure the settings for the Video.js module.',
    'file' => 'includes/videojs.admin.inc',
  );
  return $items;
}