captions
captions copied to clipboard
Modern media captions parser and renderer (~5kB). Supports VTT, SRT, and SSA. Works server side, supports text streams, rollup captions via VTT regions, customization via CSS, and more.
- fix issue where metadata value get cut off when containing ":" or "=" - fix trimming logic, for example, "Message:Hello World" would parsed as `{ Message: "HelloWorld"}` whereas "Message:...
VTT files can have cue payloads with nested timestamps. However `renderVTTTokensString` only processes the top-level timestamp according to the passed `currentTime`. It does not pass the `currentTime` to the recursive...
> ➕ Planning to also add a TTML, CEA-608, and CEA-708 parser that will map to VTT and render correctly. The above is from the description. Is there any roadmap/timeline...