The latest updates on your projects. Learn more about Vercel for GitHub.
Fix inline video playback in client portals#65
Client portals currently show only an “Open current version” link for shared videos. They also block video frames through the app's Content Security Policy. This change renders the current YouTube or Vimeo version in a responsive inline player, so clients can watch without leaving the project page.
The player uses the existing URL normalizer to derive trusted embed URLs. It supports watch, short, and player URLs, includes a descriptive frame title and fullscreen controls, and sends the origin referrer required by YouTube. Ordinary links keep their link behavior, and video links remain available as a fallback. The policy allows only the YouTube privacy-enhanced player and Vimeo player hosts. Public data projection, version history visibility, and comments retain their existing behavior.
Validation:
- App and marketing TypeScript checks, production build, UI allowlist, and production source verification passed.
- All 86 unit tests and 117 Convex tests passed, including the new embed regression tests.
- Both CSP tests passed.
- Chromium checks passed at 1440×1000 and 390×844 for responsive layout, permitted frame loading, fullscreen permission, and ordinary-link fallback. Provider frame responses were mocked; live video availability and provider embed restrictions were not tested.
pnpm check:fullwas attempted. The dependency audit reports 18 vulnerabilities in the existing dependency tree and stops the combined command. Remaining suites were run separately; the general browser smoke script stops at its unchanged/team-chatassertion expecting “Manage Team”.
Manual verification after deployment: open a published portal with a current YouTube or Vimeo media version, play the video inline on desktop and mobile, and confirm fullscreen and existing comments work. An ordinary external media URL should remain an external link.
Checks
Failing1
- Failed
Added 1 commit
- Fix inline video playback in client portalsa6e8247
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 59 minutes.
View limit details
Limit details: You’ve used the included review currently available.
Review configuration:
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 398663b1-1198-4021-b328-a5ebb6a68267
📥 Commits
Reviewing files that changed from the base of the PR and between 952056ed870526a58ee7556f3a96f12c286893a6 and a6e8247372691a8768bac6ab4a3b0b715c8f5d30.
📒 Files selected for processing (4)
next.config.mjsscripts/check-stripe-csp.test.mjssrc/app/client-portal/client-portal-view.test.tssrc/app/client-portal/client-portal-view.tsx
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Autopilot is currently an internal CodeRabbit preview.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Deploying with
Cloudflare Workers
The latest updates on your project. Learn more about integrating Git with Workers.
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs | relay | a6e82473 | Oct 01 2026, 11:43 PM |
Deploying with
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 | relay-web | a6e82473 | Commit Preview URL Branch Preview URL | Oct 01 2026, 11:45 PM |
Capy couldn't review this pull request because Screen's workspace is out of credits, add credits or enable auto-reload to resume automatic reviews.