Fix iOS mime type

This commit is contained in:
Nicolas Mowen 2024-05-30 07:38:41 -06:00
parent 4a004043f9
commit 0fc71f6aa5

View File

@ -104,14 +104,18 @@ export function AnimatedEventCard({ event }: AnimatedEventCardProps) {
/>
) : (
<video
src={`${baseUrl}api/review/${event.id}/preview?format=ts`}
preload="auto"
autoPlay
playsInline
muted
disableRemotePlayback
loop
/>
>
<source
src={`${baseUrl}api/review/${event.id}/preview?format=mp4`}
type="video/mp4"
/>
</video>
)}
</div>
<div className="absolute inset-x-0 bottom-0 h-6 rounded bg-gradient-to-t from-slate-900/50 to-transparent">