aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-05 11:07:57 +0100
committerChocobozzz <me@florianbigard.com>2019-12-05 11:07:57 +0100
commitc37a52b046a419a7f2b69c7a98904b15db9786d9 (patch)
tree92df3055768b3e6cb3c05608a0c32013e266ff9b /server/initializers
parent03aff3c6f671ffd5d81169fb49a2faf666b12931 (diff)
downloadPeerTube-c37a52b046a419a7f2b69c7a98904b15db9786d9.tar.gz
PeerTube-c37a52b046a419a7f2b69c7a98904b15db9786d9.tar.zst
PeerTube-c37a52b046a419a7f2b69c7a98904b15db9786d9.zip
Support m4v videos
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index b51ed8872..af70e7b88 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -770,7 +770,9 @@ function buildVideoMimetypeExt () {
770 'video/x-flv': '.flv', 770 'video/x-flv': '.flv',
771 'video/x-matroska': '.mkv', 771 'video/x-matroska': '.mkv',
772 'application/octet-stream': '.mkv', 772 'application/octet-stream': '.mkv',
773 'video/avi': '.avi' 773 'video/avi': '.avi',
774 'video/x-m4v': '.m4v',
775 'video/m4v': '.m4v'
774 }) 776 })
775 } 777 }
776 778