Skip to content

Headless playback Solid

The @socialplayer/solid adapter is a wrapper around the core API.

useSocialPlayer - 215 B

Basic Usage

ts
import { useSocialPlayer } from "@socialplayer/solid"
useSocialPlayer.use(plugin)

const { playbackActions } = useSocialPlayer({
  id: "video-id",
})