mirror of https://github.com/Chocobozzz/PeerTube
Correctly fix octet stream fallback for video ext
parent
99d362de0c
commit
26469f9ed8
|
@ -795,6 +795,8 @@ function buildVideoMimetypeExt () {
|
||||||
'video/x-matroska': '.mkv',
|
'video/x-matroska': '.mkv',
|
||||||
'video/avi': '.avi',
|
'video/avi': '.avi',
|
||||||
'video/x-m4v': '.m4v',
|
'video/x-m4v': '.m4v',
|
||||||
|
// Could be anything
|
||||||
|
'application/octet-stream': null,
|
||||||
'video/m4v': '.m4v'
|
'video/m4v': '.m4v'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue