Skip to content

Headless playback Vue

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

useSocialPlayer - 215 B

Basic Usage

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

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