Skip to content

Fix chatelement.mp4 embed in Fundamentals 1#606

Merged
pballai merged 1 commit into
masterfrom
chatelement-mp4-fix
Jun 10, 2026
Merged

Fix chatelement.mp4 embed in Fundamentals 1#606
pballai merged 1 commit into
masterfrom
chatelement-mp4-fix

Conversation

@pballai

@pballai pballai commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Two issues prevented the chat element demo video from playing on the deployed site:

  1. The embed used which browsers can't render as video, so only a broken-image icon appeared. Switched to

  2. The mp4 had its moov atom at the end of the file, which fails Cloudflare range-streaming the same way sidebar.mp4 did. Remuxed with -movflags +faststart so the browser can start playback immediately.

Two issues prevented the chat element demo video from playing on the
deployed site:

1. The embed used <img src="...mp4"> which browsers can't render as video,
   so only a broken-image icon appeared. Switched to <video src="...mp4">
   so the claat LocalVideoNode patch transforms it into a proper player.

2. The mp4 had its moov atom at the end of the file, which fails Cloudflare
   range-streaming the same way sidebar.mp4 did. Remuxed with
   -movflags +faststart so the browser can start playback immediately.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@pballai pballai merged commit e9668be into master Jun 10, 2026
2 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