function video_video_extensions in Video 6.5
Same name and namespace in other branches
- 6.4 video.module \video_video_extensions()
- 7 video.module \video_video_extensions()
Return our list of video extensions and their associated player.
4 calls to video_video_extensions()
- video_admin_preset in ./
video.admin.inc - video_file_download in ./
video.module - Implementation of hook_file_download().
- video_get_player in ./
video_formatter.inc - Get the object for the suitable player for the parameter resource
- video_players_admin_settings in ./
video.admin.inc - Video player admin settings
File
- ./
video.module, line 465 - Main file of the Video module.
Code
function video_video_extensions() {
return array(
'divx' => 'video_play_divx',
'mkv' => 'video_play_divx',
'mov' => 'video_play_quicktime',
'3gp' => 'video_play_quicktime',
'3g2' => 'video_play_quicktime',
'm4v' => 'video_play_quicktime',
'mp4' => 'video_play_html5',
'rm' => 'video_play_realmedia',
'f4v' => 'video_play_flv',
'flv' => 'video_play_flv',
'swf' => 'video_play_flash',
'dir' => 'video_play_dcr',
'dcr' => 'video_play_dcr',
'asf' => 'video_play_windowsmedia',
'wmv' => 'video_play_windowsmedia',
'avi' => 'video_play_windowsmedia',
'mpg' => 'video_play_windowsmedia',
'mpeg' => 'video_play_windowsmedia',
'ogg' => 'video_play_html5',
'ogv' => 'video_play_html5',
'webm' => 'video_play_html5',
);
}