Skip to content

Headless playback React

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

useSocialPlayer - 248 B

Basic Usage

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

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