Skip to content

Commit

Permalink
Add controls to video
Browse files Browse the repository at this point in the history
Autoplay seems to not be working very well, so I'll just add controls
to the video as a fallback in those cases.
  • Loading branch information
ekzhang committed Feb 1, 2024
1 parent 52a47a6 commit d4c1258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ui/TeaserImage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<MoreVerticalIcon class="w-4 h-4 text-zinc-300" />
</div>
</div>
<video muted autoplay loop>
<video playsinline muted autoplay loop controls>
<source
src="https://sshx.s3.amazonaws.com/media/teaser-video.mov"
type="video/mp4"
Expand Down

0 comments on commit d4c1258

Please sign in to comment.