mirror of https://github.com/Chocobozzz/PeerTube
Support text/plain caption files
parent
405ec98b91
commit
2f26030dd2
|
@ -410,7 +410,8 @@ const MIMETYPES = {
|
||||||
VIDEO_CAPTIONS: {
|
VIDEO_CAPTIONS: {
|
||||||
MIMETYPE_EXT: {
|
MIMETYPE_EXT: {
|
||||||
'text/vtt': '.vtt',
|
'text/vtt': '.vtt',
|
||||||
'application/x-subrip': '.srt'
|
'application/x-subrip': '.srt',
|
||||||
|
'text/plain': '.srt'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
TORRENT: {
|
TORRENT: {
|
||||||
|
|
Loading…
Reference in New Issue