Skip to content

Fix playable upload preview in results#51

Merged
azizu06 merged 3 commits into
mainfrom
fix/production-result-video-embed
Jul 12, 2026
Merged

Fix playable upload preview in results#51
azizu06 merged 3 commits into
mainfrom
fix/production-result-video-embed

Conversation

@azizu06

@azizu06 azizu06 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the static results facade with native video playback for uploaded files
  • create a local object URL from the retained upload and revoke it on replacement, reset, or unmount
  • leave URL-source embeds and PR Lower/center the landscape results embed #48 source-rail positioning untouched

Root cause

The completed scorecard always rendered a decorative .video-facade; the retained upload file was never converted into a browser-playable source.

Focused TDD

  • RED: npm run test:unit -- src/components/capcheck-app.test.tsx -t "plays the submitted upload" failed because no playable labeled video existed
  • GREEN: same command passes (1 passed, 40 skipped)
  • git diff --check

Scope

Upload preview only. Privacy-enhanced YouTube embedding is intentionally deferred to keep this production fix minimal and collision-free.

Unmerged by design.

Copilot AI review requested due to automatic review settings July 12, 2026 01:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
capcheck Ready Ready Preview, Comment Jul 12, 2026 1:57am

@azizu06
azizu06 merged commit 3070c15 into main Jul 12, 2026
4 checks passed
@azizu06
azizu06 deleted the fix/production-result-video-embed branch July 12, 2026 01:59
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.

2 participants