Skip to content

fix(vidstack): handle zero-offset thumbnail sprites - #1825

Merged
mihar-22 merged 1 commit into
mainfrom
codex/1652-thumbnail-zero-offset
May 26, 2026
Merged

fix(vidstack): handle zero-offset thumbnail sprites#1825
mihar-22 merged 1 commit into
mainfrom
codex/1652-thumbnail-zero-offset

Conversation

@mihar-22

Copy link
Copy Markdown
Member

Summary

  • Update thumbnail selection so the image source changes before the active thumbnail crop is applied.
  • Add regression coverage for switching from one sprite image to a later sprite at coords: { x: 0, y: 0 }.

Fixes #1652.

Validation

  • pnpm --filter vidstack test -- src/components/ui/thumbnails/thumbnail.test.ts
  • pnpm --filter vidstack typecheck

@mihar-22
mihar-22 marked this pull request as ready for review May 26, 2026 07:07
@mihar-22
mihar-22 merged commit 6a06296 into main May 26, 2026
1 check passed
@mihar-22
mihar-22 deleted the codex/1652-thumbnail-zero-offset branch May 26, 2026 07:08
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.

Thumbnail provided via ThumbnailImageInit and multiple sprite urls issue loading x/y=0/0 corrdinates

1 participant