Skip to content

Commit e442667

Browse files
committed
Update component
1 parent 9746309 commit e442667

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/lib/components/relive.svelte

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@
44
export let reliveId: string
55
</script>
66

7-
<GeneralObserver>Hello</GeneralObserver>
7+
<GeneralObserver>
8+
<iframe
9+
title={`relive-${reliveId}`}
10+
src={`https://www.relive.cc/view/${reliveId}/widget`}
11+
/>
12+
</GeneralObserver>

src/routes/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Output:
258258

259259
Output:
260260

261-
<Relive />
261+
<Relive reliveId="vAOZokmYVo6" />
262262

263263
## SimpleCast
264264

0 commit comments

Comments
 (0)