From 1395e7ff82e0d0c64f49bd6a3c03835e177e3dd7 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 2 Jun 2020 10:42:24 -0700 Subject: [PATCH] Try and hack around autoplay --- webroot/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webroot/index.html b/webroot/index.html index c598378ac..2731e84e6 100644 --- a/webroot/index.html +++ b/webroot/index.html @@ -118,7 +118,9 @@ else if (video.canPlayType("application/vnd.apple.mpegurl")) { video.src = videoSrc; video.addEventListener("loadedmetadata", function () { + document.getElementById('video').muted = true; document.getElementById('video').play(); + document.getElementById('video').muted = false; }); }