function videojs_hls_menu in Video.js (HTML5 Video Player) 7.3
Same name and namespace in other branches
- 7.2 modules/videojs_hls/videojs_hls.module \videojs_hls_menu()
Implements hook_menu().
File
- modules/
videojs_hls/ videojs_hls.module, line 10 - Provides bandwidth switching for the Video.js player.
Code
function videojs_hls_menu() {
$items = array();
$items['m3u8/%'] = array(
'title' => 'm3u8 master index',
'page callback' => 'videojs_hls_render_dynamic',
'page arguments' => array(
1,
),
'access callback' => TRUE,
'file' => 'videojs_hls.pages.inc',
'type' => MENU_CALLBACK,
'delivery callback' => 'videojs_hls_deliver',
);
return $items;
}