Skip to content

Commit

Permalink
Hide video controls
Browse files Browse the repository at this point in the history
  • Loading branch information
healeycodes committed Nov 20, 2023
1 parent 4c38a1e commit fa5e1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function Post({
if (props.src.match(isVideo)) {
return <video style={{ display: 'block', margin: '0 auto', maxWidth: '100%' }}
key={props.src}
controls
controls={false}
autoPlay
playsInline
loop
Expand Down

1 comment on commit fa5e1e7

@vercel
Copy link

@vercel vercel bot commented on fa5e1e7 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.