tangled
alpha
login
or
join now
flo-bit.dev
/
blento
21
fork
atom
your personal website on atproto - mirror
blento.app
21
fork
atom
overview
issues
pulls
pipelines
fix livestream
Florian
2 months ago
3d4c2041
ea7b0b02
+2
-2
1 changed file
expand all
collapse all
unified
split
src
lib
cards
LivestreamCard
LivestreamEmbedCard.svelte
+2
-2
src/lib/cards/LivestreamCard/LivestreamEmbedCard.svelte
···
4
4
let { item }: ContentComponentProps = $props();
5
5
6
6
// svelte-ignore state_referenced_locally
7
7
-
let domain = new URL(item.cardData.embed).hostname;
7
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
12
-
src={item.cardData.embed}
12
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"