mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add mks file support to subtitle uploader component and template
This commit is contained in:
parent
aacc36f335
commit
554416c6a5
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ function onFileReaderError(evt) {
|
|||
}
|
||||
|
||||
function isValidSubtitleFile(file) {
|
||||
return file && ['.sub', '.srt', '.vtt', '.ass', '.ssa']
|
||||
return file && ['.sub', '.srt', '.vtt', '.ass', '.ssa', '.mks']
|
||||
.some(function(ext) {
|
||||
return file.name.endsWith(ext);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue