index: fix video in Safari

This commit is contained in:
selsta 2020-05-22 20:19:08 +02:00
parent 3824a2abc2
commit 4b6667d91d
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -10,7 +10,7 @@ permalink: index.html
<div class="col-lg-7 col-md-7 col-xs-12 main-video">
<div class="monero-video">
<!--iframe width="560" height="315" src="https://www.youtube.com/embed/TZi9xx6aiuY" frameborder="0" allowfullscreen></iframe-->
<video controls poster="/img/monero-community.png" onclick="this.paused ? this.play() : this.pause();" preload="none">
<video controls poster="/img/monero-community.png" preload="metadata">
<source src={% if site.lang == 'en' %}"/media/Monero_Promo.m4v"{% else %}"/media/{{ site.lang }}/Monero_Promo.m4v"{% endif %}>
</video>
</div>
@ -180,4 +180,4 @@ permalink: index.html
</section>
<!-- END 3 ONE-THIRD BLOCKS ROW -->
</div>
</div>