From: Chocobozzz Date: Thu, 5 Dec 2019 10:07:57 +0000 (+0100) Subject: Support m4v videos X-Git-Tag: v2.1.0-rc.1~260 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c37a52b046a419a7f2b69c7a98904b15db9786d9;p=oweals%2Fpeertube.git Support m4v videos --- 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 () { 'video/x-flv': '.flv', 'video/x-matroska': '.mkv', 'application/octet-stream': '.mkv', - 'video/avi': '.avi' + 'video/avi': '.avi', + 'video/x-m4v': '.m4v', + 'video/m4v': '.m4v' }) }