recognize video/x-matroska (MKV files) as a video type
This commit is contained in:
parent
57450fd8b8
commit
e260a05f42
2 changed files with 6 additions and 0 deletions
|
|
@ -56,6 +56,9 @@ export const FILE_TYPE_BROWSERSAFE = [
|
||||||
'video/webm',
|
'video/webm',
|
||||||
'audio/webm',
|
'audio/webm',
|
||||||
|
|
||||||
|
// MKV files
|
||||||
|
'video/x-matroska',
|
||||||
|
|
||||||
'audio/aac',
|
'audio/aac',
|
||||||
|
|
||||||
// see https://github.com/misskey-dev/misskey/pull/10686
|
// see https://github.com/misskey-dev/misskey/pull/10686
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,9 @@ export const FILE_TYPE_BROWSERSAFE = [
|
||||||
'video/webm',
|
'video/webm',
|
||||||
'audio/webm',
|
'audio/webm',
|
||||||
|
|
||||||
|
// MKV files
|
||||||
|
'video/x-matroska',
|
||||||
|
|
||||||
'audio/aac',
|
'audio/aac',
|
||||||
|
|
||||||
// see https://github.com/misskey-dev/misskey/pull/10686
|
// see https://github.com/misskey-dev/misskey/pull/10686
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue