Skip to content

feat(vtt-core): preserve WebVTT style blocks - #56

Open
Stoffberg wants to merge 1 commit into
fix/editor-keep-regionsfrom
feat/vtt-style-blocks
Open

Stoffberg wants to merge 1 commit into
fix/editor-keep-regionsfrom
feat/vtt-style-blocks

Conversation

@Stoffberg

Copy link
Copy Markdown
Collaborator

Summary

The caption parser discarded STYLE blocks, preventing editors from preserving a file’s styling. Parsing now keeps their text in order. Applying those styles during playback remains unsupported.

Testing

  • Parsed caption files with styles before and after cues; validly placed styles were kept and late styles were ignored.
  • Checked malformed style content containing a cue arrow; following captions remained readable.

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-av-uegr Ready Ready Preview Oct 12, 2026 8:17am UTC

This branch was successfully deployed

1 active deployment
Preview — 9807e322 Deployed Oct 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant