Skip to content

feat(chat): play video and audio attachments in the house player (@profullstack/player 0.17.0) - #357

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
  • src/lib/components/media/EnhancedVideoPlayer.jsx: rewritten on createPlayer from @profullstack/player 0.17.0 (destroyed on unmount / src change). Takes the MIME type because decrypted attachments are blob: URLs with no extension to sniff; sets kind (mp4 or audio) explicitly.
  • src/lib/components/chat/MessageAttachments.jsx: video and audio attachments render through it instead of raw <video>/<audio>.
  • WebRTC call video is left alone.

bun run test:ci (923 pass) and next build (with the CI placeholder env) pass locally.

🤖 Generated with Claude Code

…ofullstack/player 0.17.0)

Decrypted video/audio attachments drew raw <video>/<audio> with native
controls. EnhancedVideoPlayer now wraps @profullstack/player (one control
bar with auto-hide, full screen including iPhone, compact audio bar) and
MessageAttachments renders it. Attachments are blob: URLs with no file
extension, so the MIME type is passed and the kind set explicitly.
WebRTC call video is untouched.

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: 14 | LOW: 4

Severity Rule Location
MEDIUM js-unescaped-html-sink src/app/blog/[slug]/page.jsx:38
MEDIUM js-unescaped-html-sink src/app/blog/[slug]/page.jsx:66
MEDIUM js-unescaped-html-sink src/app/faq/page.jsx:57
MEDIUM js-unescaped-html-sink src/app/layout.jsx:142
MEDIUM js-unescaped-html-sink src/app/layout.jsx:146
MEDIUM js-unescaped-html-sink src/app/page.jsx:50
MEDIUM js-open-redirect src/app/phone/page.jsx:70
MEDIUM redos-nested-quantifier src/lib/auth/dns-name.js:88
MEDIUM redos-nested-quantifier src/lib/chat/voice-mode.js:116
MEDIUM redos-nested-quantifier src/lib/chat/voice-mode.js:121
MEDIUM js-unescaped-html-sink src/lib/components/chat/MessageItem.jsx:85
MEDIUM js-unescaped-html-sink src/lib/components/chat/MessageItem.jsx:130
MEDIUM js-unescaped-html-sink src/lib/components/PitFooter.jsx:15
MEDIUM js-open-redirect src/lib/components/settings/CoinpaySettings.jsx:62
LOW secret-generic-credential src/app/api/auth/register-anon/route.test.js:32
LOW secret-jwt tests/debug-sms.js:10
LOW secret-generic-credential tests/private-key-import-export.test.js:252
LOW secret-generic-credential tests/private-key-import-export.test.js:264

Snippets are redacted; ThreatCrush never prints matched credential material.

@socket-security

Copy link
Copy Markdown
Contributor

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
Contributor

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: 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 3a971dd into master Nov 2, 2026
11 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