Video QC: fix client-side SRT rejection in upload form
The accept='' attribute and help copy already allowed .srt, but a separate ALLOWED_EXTENSIONS array in upload.html's JS was filtering out .srt files as 'unsupported format'. Adding 'srt' to that array fixes the silent skip seen on Dev (file picker showed .srt as valid, then the submit handler dropped it).
This commit is contained in:
parent
70700f4f91
commit
5de8f5fe7b
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@
|
|||
const validationMessage = document.getElementById('validationMessage');
|
||||
|
||||
const MAX_FILES = 50;
|
||||
const ALLOWED_EXTENSIONS = ['mp4', 'mov', 'avi', 'mkv'];
|
||||
const ALLOWED_EXTENSIONS = ['mp4', 'mov', 'avi', 'mkv', 'srt'];
|
||||
let selectedFiles = [];
|
||||
|
||||
uploadZone.addEventListener('click', () => fileInput.click());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue