make it play on hover even if chome don't like it ( suck it chrome )

websocket
loicbersier 4 years ago
parent 9cf24bd232
commit bf1b1e870c

@ -147,7 +147,7 @@
<p><button class="button is-link is-rounded" onclick="toClipboard('https:\/\/namejeff.xyz\/{{ file.location }}')">Add to clipboard<i class="fas fa-fw fa-clipboard" aria-hidden="true"></i></button></p>
</div>
<figure class="image">
<video muted width="720" height="480" loop onmouseover="this.play()" onmouseout="this.pause();">
<video muted width="720" height="480" loop onmouseover="this.play()" onmouseout="this.pause();" oncanplay="this.muted=true">
<source src="{{ file.location }}" type="video/mp4">
<img src="data:image/png;base64, {{ file.img }}">
</video>

Loading…
Cancel
Save