Skip to content

Headless playback Vue

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

usePlayback - 1.5 KB

Basic Usage

ts
function usePlayback(arg: { id: string }): {
  activate
  playbackActions
  playbackState
}

usePlayback.use(plugin, {
  /* Your plugin config */
})