1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-17 09:29:08 +00:00

Add mute attribute to videos

This commit is contained in:
Luke Seers 2022-10-19 14:06:26 +02:00
parent 741b69eb1c
commit 2a47b0a4a6
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ title: Safing Portmaster - Download
</div>
</div>
<div class="element-x-center max-w-4xl mx-auto xl:opacity-50">
<video class="md:mt-20" loop autoplay width="auto" height="auto" style="filter: contrast(1.15);">
<video class="md:mt-20" muted loop autoplay width="auto" height="auto" style="filter: contrast(1.15);">
<source src="{{ site.assets_url }}/video/page-specific/landing/video.webm" type="video/webm" poster="{{ site.assets_url }}/img/page-specific/landing/portmaster-thumbnail.png" style="object-fit: cover; border-radius: 12px;">
</video>
</div>

View file

@ -44,7 +44,7 @@ redirect_from:
</div>
<div class="header-two-bottom" style="margin-top: 2rem; position: relative;">
<div class="element-x-center max-w-max mx-auto">
<video loop autoplay width="auto" height="auto" poster="{{ site.assets_url }}img/page-specific/landing/portmaster-thumbnail.png">
<video muted loop autoplay width="auto" height="auto" poster="{{ site.assets_url }}img/page-specific/landing/portmaster-thumbnail.png">
<source src="{{ site.assets_url }}video/page-specific/landing/video.webm" type="video/webm" style="object-fit: cover; border-radius: 12px;">
</video>
</div>