Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Strokkur424 committed Dec 18, 2024
1 parent b3f1561 commit 14d2f89
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/components/ui/FullWidthVideo.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
export default function FullWidthVideo({ src }: FullWidthVideoProps) {
return <div> <video width="100%" muted loop controls={true}>
<source src={src} type = "video/mp4"/>
return (
<div>
{" "}
<video width="100%" muted loop controls={true}>
<source src={src} type="video/mp4" />
Your device does not support video playback
</video> </div>
</video>{" "}
</div>
);
}

interface FullWidthVideoProps {
src: string;
}
}

0 comments on commit 14d2f89

Please sign in to comment.