From 33aed9a2bc33078ffd2ba46d2e77ac78de187512 Mon Sep 17 00:00:00 2001 From: Heshan Date: Mon, 4 Apr 2011 18:19:50 +0530 Subject: #1101272 by kroimpa MKV support --- video.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/video.module b/video.module index 58e8925..5a6c5a2 100644 --- a/video.module +++ b/video.module @@ -237,7 +237,7 @@ function video_web_extensions($ext) { $extensions = array_filter(explode(' ', $ext)); $web_extensions = array( 'mov', 'mp4', '3gp', '3g2', 'mpg', 'mpeg', // quicktime - 'divx', //divx + 'divx', 'mkv', //divx 'rm', // realplayer 'flv', 'f4v', //flash player 'swf', // swf player @@ -467,6 +467,7 @@ function _video_aspect_ratio($video) { function video_video_extensions() { $extensions = array( 'divx' => 'video_play_divx', + 'mkv' => 'video_play_divx', 'mov' => 'video_play_quicktime', '3gp' => 'video_play_quicktime', '3g2' => 'video_play_quicktime', @@ -522,6 +523,7 @@ function video_video_flv_players() { } return $options; } + /** * Field instances settings * @param $widget -- cgit v1.2.3