Merge pull request #994

index: fix video in Safari
This commit is contained in:
luigi1111 2020-05-28 12:50:08 -05:00 committed by GitHub
commit 8632e366a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>