From c37a52b046a419a7f2b69c7a98904b15db9786d9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Dec 2019 11:07:57 +0100 Subject: [PATCH] Support m4v videos --- server/initializers/constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' }) }