Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: pin the final music-video player to object-contain so a non-16:9 render letterboxes (#3293)

[._.]/ Adam Eivy271f972ac288
diff --git a/client/src/pages/MusicVideo.jsx b/client/src/pages/MusicVideo.jsx
index 78108acec9..083d544a06 100644
--- a/client/src/pages/MusicVideo.jsx
+++ b/client/src/pages/MusicVideo.jsx
@@ -1317,13 +1317,17 @@ export default function MusicVideo() {
{finalVideo.src && (
// aspect-video reserves the box before the video's
// intrinsic dimensions resolve, so the actions above it
- // don't jump — same as the scene thumbnails below.
+ // don't jump — same as the scene thumbnails below. The
+ // render inherits its first scene clip's dimensions, which
+ // are not always 16:9, so object-contain is explicit: a
+ // 3:2 cut letterboxes inside the reserved box (against the
+ // player's own black) instead of being stretched to fill it.
<video
src={finalVideo.src}
controls
playsInline
preload="metadata"
- className="w-full aspect-video max-h-[65vh] rounded bg-black border border-port-border"
+ className="w-full aspect-video max-h-[65vh] object-contain rounded bg-black border border-port-border"
aria-label="Play final music video"
/>
)}