lingo.dev
lingo.dev copied to clipboard
Add support for VTT (Web Video Text Tracks) file format
What
Implement a loader for VTT files in Replexica.
Why
To support web developers and video content creators working with HTML5 video subtitles.
How
- Create a new loader in
packages/cli/src/loaders/vtt.ts - Implement parsing logic for VTT structure
- Add two unit tests in
packages/cli/src/loaders/index.spec.ts:- Test parsing a simple VTT file
- Test handling cue settings in VTT entries
- Update
@replexica/specto include VTT format - Generate a changeset using
pnpm newfor both 'replexica' and '@replexica/cli' packages - In the pull request, include a link to the VTT specification used.
After completing the task
Noticed a file format Replexica doesn't yet support? Please create a new GitHub ticket (if it doesn't yet exist!), using the format/structure of this GitHub issue.
@maxprilutskiy I'll take this as vtt is very similar to srt file format