aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-04-04 18:19:50 +0530
committerHeshan <heshan@heidisoft.com>2011-04-04 18:19:50 +0530
commit33aed9a2bc33078ffd2ba46d2e77ac78de187512 (patch)
treed9368febb6b15b90bb6823ed19b5113d579991de
parent1800887bdbee733712fe8f35450b15e18994224d (diff)
downloadvideo-33aed9a2bc33078ffd2ba46d2e77ac78de187512.tar.gz
video-33aed9a2bc33078ffd2ba46d2e77ac78de187512.tar.bz2
#1101272 by kroimpa MKV support
-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