add 'playsinline' to all inline videos, dont mute background videos on mobile

This commit is contained in:
Hakim El Hattab
2020-06-16 10:27:09 +02:00
parent cd2a792416
commit 2fccb77405
4 changed files with 13 additions and 8 deletions

View File

@ -33,7 +33,11 @@
<section>
<h2>Video</h2>
<video src="https://static.slid.es/site/homepage/v1/homepage-video-editor.mp4" data-autoplay></video>
<video src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" data-autoplay></video>
</section>
<section data-background-video="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" data-background-video-muted>
<h2>Background Video</h2>
</section>
<section>