Skip to content

fix(web): allow signed video playback - #277

Merged
iamjr15 merged 1 commit into
mainfrom
fix/video-preview-csp
Aug 13, 2026
Merged

fix(web): allow signed video playback#277
iamjr15 merged 1 commit into
mainfrom
fix/video-preview-csp

Conversation

@iamjr15

@iamjr15 iamjr15 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Why

Production generated-video cards received a valid signed gateway URL, but the web CSP permitted that origin only for fetches and not media playback. Chrome rejected the video before issuing its media request.

What changed

The production media-src directive now trusts the same build-validated gateway origin already used by connect-src. No wildcard or additional third-party origin was introduced.

Architecture and migration effects

Web policy only. No Worker, environment, storage, or database change.

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm turbo build --force
  • pnpm deadcode (existing Knip ignore hint only)
  • pnpm architecture:check
  • pnpm turbo skills:build
  • production acceptance will reload the already-generated video after the exact Vercel SHA deploys

@iamjr15
iamjr15 merged commit cbbf22c into main Aug 13, 2026
4 checks passed
@iamjr15
iamjr15 deleted the fix/video-preview-csp branch August 13, 2026 09:25
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