your personal website on atproto - mirror blento.app

fix livestream

Florian 3d4c2041 ea7b0b02

+2 -2
+2 -2
src/lib/cards/LivestreamCard/LivestreamEmbedCard.svelte
··· 4 4 let { item }: ContentComponentProps = $props(); 5 5 6 6 // svelte-ignore state_referenced_locally 7 - let domain = new URL(item.cardData.embed).hostname; 7 + let domain = new URL(item.cardData.embed || item.cardData.href).hostname; 8 8 </script> 9 9 10 10 {#if domain === 'stream.place'} 11 11 <iframe 12 - src={item.cardData.embed} 12 + src={item.cardData.embed || item.cardData.href} 13 13 sandbox="allow-scripts allow-same-origin" 14 14 referrerpolicy="no-referrer" 15 15 class="absolute inset-0 h-full w-full"