make it play on hover even if chome don't like it ( suck it chrome )
This commit is contained in:
parent
9cf24bd232
commit
bf1b1e870c
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
<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>
|
</div>
|
||||||
<figure class="image">
|
<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">
|
<source src="{{ file.location }}" type="video/mp4">
|
||||||
<img src="data:image/png;base64, {{ file.img }}">
|
<img src="data:image/png;base64, {{ file.img }}">
|
||||||
</video>
|
</video>
|
||||||
|
|
Loading…
Reference in a new issue