Skip to content

Commit

Permalink
add the playsinline attribute for video
Browse files Browse the repository at this point in the history
  • Loading branch information
gobanana520 committed Jun 18, 2024
1 parent 11fa1f0 commit 0c4998b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file removed HOCap/assets/videos/ho-cap-demo.webm
Binary file not shown.
5 changes: 2 additions & 3 deletions HOCap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@ <h2 class="center">
</div>

<div class="video">
<video autoplay muted loop>
<!-- <source src="assets/videos/ho-cap-demo.mp4" type="video/mp4" /> -->
<source src="assets/videos/ho-cap-demo.webm" type="video/webm" />
<video autoplay muted loop playsinline>
<source src="assets/videos/ho-cap-demo.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
Expand Down

0 comments on commit 0c4998b

Please sign in to comment.