projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03aff3c
)
Support m4v videos
author
Chocobozzz
<me@florianbigard.com>
Thu, 5 Dec 2019 10:07:57 +0000
(11:07 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 5 Dec 2019 10:07:57 +0000
(11:07 +0100)
server/initializers/constants.ts
patch
|
blob
|
history
diff --git
a/server/initializers/constants.ts
b/server/initializers/constants.ts
index b51ed8872423ac81e34388272d4af7e7573c8a68..af70e7b88a365f6a9ba883f14eda251aefa3b7a0 100644
(file)
--- 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'
})
}