Skip to content

feat(vtt-controls): add a captions toggle - #65

Open
Stoffberg wants to merge 4 commits into
masterfrom
feat/captions-toggle
Open

Stoffberg wants to merge 4 commits into
masterfrom
feat/captions-toggle

Conversation

@Stoffberg

Copy link
Copy Markdown
Collaborator

Summary

Apps had to build their own captions switch. The new button hides captions and restores the previously showing track, announces its state and disables when no caption tracks exist.

Testing

  • Turn captions off and on; the caption text disappears and returns.
  • Use two caption buttons while paused; both stay in sync and restore the same selected language.

Evidence

Click CC: the caption disappears and the button dims. Click again: the same caption returns and the button becomes active.

workflow.mp4

@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:20am UTC

This branch was successfully deployed

1 active deployment
Preview — 4a7468f6 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