Skip to content

facebook - 311 B

Basic Usage

ts
import { facebookPlugin } from "@socialplayer/facebook-plugin"
import { createSocialPlayer } from "@socialplayer/core"

createSocialPlayer.use(facebookPlugin, {
  appId: "appId",
})

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

playbackActions.loadFacebookUrl({ source })