New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add caption and subtitle file formats to default allowedFileExtensions and fileKinds #7304
Comments
@missmatsuko Do you think we should be adding two separate file kinds – “Captions” and “Subtitles” – or just one? And what should the file kind label(s) be? Current file kinds are defined here: Lines 378 to 591 in c4b999b
We can add the same extension to multiple file kinds, but assets’ |
It should be one file kind for both captions and subtitles. To go along with the casing of the other file kinds, maybe the label could be "Caption/Subtitle" or "Caption or Subtitle" or "Caption and Subtitle"?
Okay, then I guess the text file kind should come before the caption and subtitle file kind so text becomes the first match? |
Alright, done. Called it “Captions/Subtitles” (plural because a single file contains multiple captions/subtitles, so singular felt awkward). Decided to leave |
Description
Add a new file kind for captions and subtitles so config changes aren't needed to upload captions and subtitles for videos.
The WebVTT format (.vtt) is likely the most useful format since it can be used on the web with the HTML5
video
element, but there's others web caption and subtitle formats listed here:Suggested values:
Some of the caption and subtitle file formats are included in other file kinds (e.g. .txt, .xml). I think having the same file extension in multiple file kinds might break the code that identifies file kind.
The text was updated successfully, but these errors were encountered: