Skip to content

Headless playback Solid

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

usePlayback - 2.84 KB

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

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