JavaScript-optional public web frontend for Bluesky anartia.kelinci.net
sveltekit atcute bluesky typescript svelte
7
fork

Configure Feed

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

fix: ensure we do autoplay

Mary c94521e4 2aa45676

+4
+4
src/routes/watch/[actor=did]/[cid=cidRaw]/+page.svelte
··· 22 22 23 23 if (canPlayNative) { 24 24 el.src = data.playlistUrl; 25 + el.play().catch(() => {}); 25 26 teardown = () => { 26 27 el.removeAttribute('src'); 27 28 el.load(); ··· 35 36 return; 36 37 } 37 38 destroy = setupHls(Hls, el, data.playlistUrl); 39 + // the `autoplay` attribute was latent while we waited for hls.js; 40 + // kick playback manually now that a source is attached 41 + el.play().catch(() => {}); 38 42 }); 39 43 40 44 teardown = () => {