The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

js/hls.js: don't autoplay oops

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso 3a8c2434 f43c0d92

+1 -7
+1 -7
lume/src/js/hls.js
··· 6 6 const hls = new HLS(); 7 7 hls.loadSource(path); 8 8 hls.attachMedia(video); 9 - hls.on(HLS.Events.MANIFEST_PARSED, function () { 10 - video.play(); 11 - }); 12 9 } else if (video.canPlayType("application/vnd.apple.mpegurl")) { 13 10 video.src = path; 14 - video.addEventListener("loadedmetadata", function () { 15 - video.play(); 16 - }); 17 11 } 18 - } 12 + }