Skip to content

Commit

Permalink
Add playsinline video attribute for Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
sergystepanov committed Oct 23, 2024
1 parent 6ccbea8 commit 2ef1a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>

<div id="screen">
<video id="stream" class="game-screen" hidden muted preload="none"></video>
<video id="stream" class="game-screen" hidden muted playsinline preload="none"></video>
<canvas id="mirror-stream" class="game-screen" hidden></canvas>
<div id="menu-screen">
<div id="menu-container"></div>
Expand Down

0 comments on commit 2ef1a93

Please sign in to comment.