Try and hack around autoplay

This commit is contained in:
Gabe Kangas 2020-06-02 10:42:24 -07:00
parent 94fabf56a8
commit 1395e7ff82

View file

@ -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;
});
}
</script>