Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #29 from Infiniti20/master
Browse files Browse the repository at this point in the history
Options was passed as a function instead of object
  • Loading branch information
benwoodward authored Dec 6, 2023
2 parents d225a91 + eb7f2b6 commit 3cc39fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Plyr.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
onMount(async () => {
player = new Plyr(plyrDiv.firstChild, opts)
player = new Plyr(plyrDiv.firstChild, opts())
eventsToEmit.forEach(event => dispatchOnPlayerEvent(event))
})
Expand Down

0 comments on commit 3cc39fc

Please sign in to comment.