diff --git a/src/components/Plyr.svelte b/src/components/Plyr.svelte index 43f61aa..b0c40c4 100644 --- a/src/components/Plyr.svelte +++ b/src/components/Plyr.svelte @@ -19,7 +19,7 @@ } onMount(async () => { - player = new Plyr(plyrDiv.firstChild, opts) + player = new Plyr(plyrDiv.firstChild, opts()) eventsToEmit.forEach(event => dispatchOnPlayerEvent(event)) })