Skip to content

feat: timeline markers on the scrubber - #48

Merged
karngyan merged 3 commits into
mainfrom
feat/markers
Oct 7, 2026
Merged

karngyan merged 3 commits into
mainfrom
feat/markers

Conversation

@karngyan

@karngyan karngyan commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Adds optional timeline markers to Player and ScenesPlayer.

  • New props: markers ({ id, time, color?, label? }[]) and onMarkerClick.
  • Each marker is a small dot button on the scrubber. Hover shows its label in the scrub preview. Click calls onMarkerClick and does not seek.
  • Markers outside the duration are skipped.
  • Without markers, the DOM is the same as before (tested).
  • Changeset: minor (0.13.0). README section and a demo example.

Chiron uses this to show reader comments on the chapter video.

🤖 Generated with Claude Code

karngyan and others added 3 commits October 7, 2026 19:13
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
kino 9a68aee Commit Preview URL

Branch Preview URL
Oct 07 2026, 01:47 PM

@karngyan
karngyan merged commit b66ec09 into main Oct 7, 2026
5 checks passed
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