diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-05 11:07:57 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-05 11:07:57 +0100 |
commit | c37a52b046a419a7f2b69c7a98904b15db9786d9 (patch) | |
tree | 92df3055768b3e6cb3c05608a0c32013e266ff9b /server/initializers/constants.ts | |
parent | 03aff3c6f671ffd5d81169fb49a2faf666b12931 (diff) | |
download | PeerTube-c37a52b046a419a7f2b69c7a98904b15db9786d9.tar.gz PeerTube-c37a52b046a419a7f2b69c7a98904b15db9786d9.tar.zst PeerTube-c37a52b046a419a7f2b69c7a98904b15db9786d9.zip |
Support m4v videos
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 4 |
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 | ||