Skip to content

Headless playback Vue

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

SocialPlayerService - 436 B

Basic Usage

ts
import { SocialPlayerService } from "@socialplayer/angular"
SocialPlayerService.use(plugin)

class AppComponent {
  playbackActions = this.socialPlayerService.createSocialPlayer({
    id: "video-id",
  })

  constructor(private socialPlayerService: SocialPlayerService) {}
}