Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Support m4v videos

Chocobozzzc37a52b046a4
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index b51ed88724..af70e7b88a 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'
})
}