diff --git a/src/components/subtitleuploader/subtitleuploader.js b/src/components/subtitleuploader/subtitleuploader.js index 6cd3f1ff25..e5e262c2ef 100644 --- a/src/components/subtitleuploader/subtitleuploader.js +++ b/src/components/subtitleuploader/subtitleuploader.js @@ -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); }); diff --git a/src/components/subtitleuploader/subtitleuploader.template.html b/src/components/subtitleuploader/subtitleuploader.template.html index 7febd1e7ac..7a498c0616 100644 --- a/src/components/subtitleuploader/subtitleuploader.template.html +++ b/src/components/subtitleuploader/subtitleuploader.template.html @@ -22,7 +22,7 @@