Browse Source

Try and hack around autoplay

pull/5/head
Gabe Kangas 5 years ago
parent
commit
1395e7ff82
  1. 2
      webroot/index.html

2
webroot/index.html

@ -118,7 +118,9 @@ @@ -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>

Loading…
Cancel
Save