Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Display controls and enable autoplay on reports
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 7c0bc0d commit 03c2cf1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/ReportCard.tsx
Expand Up @@ -52,6 +52,8 @@ export default function (props: ReportCardProps) {
{attachmentsReady ? (
<div style={{ position: "relative" }}>
<video
autoPlay={true}
controls={true}
src={`/api/uploads/${props.attachments[attachmentIdx]}`}
width="100%"
/>
Expand Down

0 comments on commit 03c2cf1

Please sign in to comment.