]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Support m4v videos
authorChocobozzz <me@florianbigard.com>
Thu, 5 Dec 2019 10:07:57 +0000 (11:07 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 5 Dec 2019 10:07:57 +0000 (11:07 +0100)
server/initializers/constants.ts

index b51ed8872423ac81e34388272d4af7e7573c8a68..af70e7b88a365f6a9ba883f14eda251aefa3b7a0 100644 (file)
@@ -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'
       })
     }