From 0bd91c3c1fef7f22cf0f4b74d2a1510769b114ed Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 6 Mar 2024 04:20:43 +0400 Subject: [PATCH] Adding a muted attribute to a video tag makes it actually play on chrome and chrome-like browsers. --- web/templates/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/index.pug b/web/templates/index.pug index ca756fc..735e84c 100644 --- a/web/templates/index.pug +++ b/web/templates/index.pug @@ -24,7 +24,7 @@ html(lang='en') a(href=mainSite) Back to main website h1 Radio section#banner - video(playsinline='' autoplay='' loop='') + video(playsinline='' autoplay='' loop='' muted='') source(src="/assets/img/stopit.mp4", type="video/mp4") section small.player-links