Appearance
The @socialplayer/svelte adapter is a wrapper around the core API.
useSocialPlayer
import { useSocialPlayer } from "@socialplayer/svelte" useSocialPlayer.use(plugin) const { playbackActions } = useSocialPlayer({ id: "video-id", })