Apply hack to display images

This commit is contained in:
2025-07-27 00:52:44 -04:00
parent 195af5e124
commit 62319a84d1

View File

@ -69,7 +69,11 @@ export default function (props: ReportCardProps & { port?: MessagePort }) {
<div style={{ position: "relative" }}>
<video controls={true} width="100%">
<source src={`/api/uploads/${props.attachments[attachmentIdx]}`} />
<source src="/files/processing.webm" />
<img
alt="User submission evidence"
src={`/api/uploads/${props.attachments[attachmentIdx]}`}
width="100%"
/>
</video>
<HStack
pos="absolute"