Skip to content

feat(web): play videos in the house player (@profullstack/player 0.17.0) - #206

Merged
sh1pt-actions-fleet[bot] merged 1 commit into
masterfrom
feat/house-player
Nov 2, 2026
Merged

sh1pt-actions-fleet[bot] merged 1 commit into
masterfrom
feat/house-player

Conversation

@sh1pt-actions-fleet

Copy link
Copy Markdown
Contributor

Replaces the three raw <video> elements with @profullstack/player 0.17.0 through a small client wrapper, components/VideoPlayer.tsx.

  • MediaCard (feed cards): was a muted <video> with no controls, so it could not be played. Now a player with the poster.
  • Arena: same, a video you were asked to judge had no way to play. Now a player, keyed per item so it is destroyed between rounds.
  • /m/[slug]: native controls replaced; resume by media id, ?t= start, copy-link-at-time.
  • CSS: .pux-player gets isolation: isolate inside card/arena/detail media so the type badges and the Arena reveal overlay paint over its control bar.

typecheck, vitest (241) and next build pass locally. (bun run lint fails on master too: typescript-eslint does not support TS 7; CI does not run it.)

🤖 Generated with Claude Code

Feed cards, the Arena and the /m/<slug> detail page drew a raw <video>.
The card and Arena ones had no controls at all, so a video you were meant
to judge could not be played. All three now use @profullstack/player: one
control bar with auto-hide, full screen including iPhone, HLS/MPEG-TS/MP4.
The detail page offers "copy link at this time" and honours ?t=.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

18 finding(s)

MEDIUM: 16 | LOW: 2

Severity Rule Location
MEDIUM js-unescaped-html-sink apps/web/app/about/page.tsx:40
MEDIUM sql-template-interpolation apps/web/app/api/admin/media/[id]/route.ts:30
MEDIUM sql-template-interpolation apps/web/app/api/admin/tags/[id]/route.ts:22
MEDIUM sql-template-interpolation apps/web/app/api/admin/users/[id]/route.ts:23
MEDIUM js-unescaped-html-sink apps/web/app/layout.tsx:60
MEDIUM js-unescaped-html-sink apps/web/app/library/[slug]/page.tsx:36
MEDIUM js-unescaped-html-sink apps/web/app/pricing/page.tsx:17
MEDIUM js-unescaped-html-sink apps/web/components/NewsletterComposer.tsx:87
MEDIUM js-open-redirect apps/web/components/PaymentUI.tsx:46
MEDIUM js-open-redirect apps/web/components/SponsorUI.tsx:44
MEDIUM sql-template-interpolation apps/web/lib/library-grants.ts:74
MEDIUM sql-template-interpolation apps/web/lib/library.ts:83
MEDIUM sql-template-interpolation apps/web/lib/library.ts:86
MEDIUM sql-template-interpolation apps/web/lib/library.ts:98
MEDIUM sql-template-interpolation apps/web/lib/queries.ts:169
MEDIUM sql-template-interpolation apps/web/lib/rewards.ts:198
LOW sql-template-interpolation apps/web/lib/rewards.test.ts:86
LOW js-unescaped-html-sink docs/design_handoff_aiornot_vote/image-slot.js:455

Snippets are redacted; ThreatCrush never prints matched credential material.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​profullstack/​player@​0.17.07810010096100

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Low adoption: npm @profullstack/player

Location: Package overview

From: apps/web/package.json → npm/@profullstack/player@0.17.0

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@profullstack/player@0.17.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

@sh1pt-actions-fleet
sh1pt-actions-fleet Bot merged commit 9336d1e into master Nov 2, 2026
7 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