aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video.module4
1 files changed, 3 insertions, 1 deletions
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 <type> $widget