Compare commits
2 Commits
b3a1419ed3
...
0a2b48a630
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a2b48a630 | ||
|
|
c336b62885 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@svelte-toolkit/jitsi",
|
"name": "@svelte-toolkit/jitsi",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.auvem.com/svelte-toolkit/jitsi.git"
|
"url": "https://gitea.auvem.com/svelte-toolkit/jitsi.git"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import { type JitsiMeetExternalAPIOptions, JitsiMeetExternalAPI } from './jitsi-iframe-api.js';
|
import type {
|
||||||
|
JitsiMeetExternalAPIOptions,
|
||||||
|
JitsiMeetExternalAPI
|
||||||
|
} from '$lib/jitsi-iframe-api.d.ts';
|
||||||
import type { ClassValue } from 'svelte/elements';
|
import type { ClassValue } from 'svelte/elements';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -34,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Initialize the Jitsi Meet External API
|
// Initialize the Jitsi Meet External API
|
||||||
api = new JitsiMeetExternalAPI(new URL(domain).host, {
|
api = new window.JitsiMeetExternalAPI(new URL(domain).host, {
|
||||||
...options,
|
...options,
|
||||||
parentNode: container
|
parentNode: container
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user