Fix interactive video (#350)

* n

* remove template

* Add templates

* remove print
This commit is contained in:
Freddy Boulton
2025-06-13 12:22:38 -04:00
committed by GitHub
parent b9c3f01e9f
commit 3abe0a4d8a
45 changed files with 4697 additions and 4672 deletions

View File

@@ -45,12 +45,11 @@
upload: FileData;
start_recording?: never;
stop_recording?: never;
tick: never;
tick: undefined;
}>();
let dragging = false;
$: dispatch("drag", dragging);
$: webrtc_id = typeof value === "string" ? value : value.webrtc_id;
</script>
<BlockLabel {show_label} Icon={Video} label={label || "Video"} />
@@ -75,7 +74,7 @@
{i18n}
stream_every={0.5}
{server}
bind:webrtc_id
bind:webrtc_id={value}
{reject_cb}
/>