function video_video_extensions in Video 6.4
Same name and namespace in other branches
- 6.5 video.module \video_video_extensions()
- 7 video.module \video_video_extensions()
Return our list of video extensions and their associated player.
2 calls to video_video_extensions()
- 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 406 - 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',
'mp4' => 'video_play_quicktime',
'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_theora',
'ogv' => 'video_play_theora',
'webm' => 'video_play_theora',
);
}