This commit is contained in:
legop3
2026-06-07 17:21:38 -04:00
parent e4a818b490
commit 5fe7197c0b
6 changed files with 144 additions and 131 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -11,8 +11,8 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
<title>Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-BJ6v-SvH.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Cjf8GsR5.css">
<script type="module" crossorigin src="/assets/index-SkeU6Ymg.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-C47xw0G6.css">
</head>
<body>
<div id="root"></div>
@@ -47,9 +47,22 @@ export default function ReplayReadyPopup({ replay, onClose, variant = 'modal' })
meta={meta}
actions={actions}
clipOverflow={false}
bodyClassName="hidden"
bodyClassName="p-0.5"
>
{null}
<div className="overflow-hidden rounded bg-black">
<video
key={videoUrl}
src={videoUrl}
controls
autoPlay
preload="auto"
playsInline
// The floating panel is intentionally compact because it appears for users who
// did not ask for the replay. It still loads the video immediately, but its
// bounded height prevents the floating card from covering too much of the UI.
className="aspect-video max-h-[12rem] w-full bg-black"
/>
</div>
</CardFrame>
);
}