Docs
Player ExpoRecipesPicture-in-Picture

Picture-in-Picture

Enable PiP for Moviie playback with embed controls, optional overrides, and config plugins.

Picture-in-Picture (PiP)

See Native playback features: especially Dashboard as source of truth: for how dashboard defaults combine with optional pictureInPicture / pictureInPictureAutoStart on the hook or MoviieVideo, and VideoView PiP props.

Checklist: expo-video plugin (supportsPictureInPicture), @moviie/player-expo plugin (pictureInPicture: true), spread videoPresentation from useMoviiePlayer onto MoviieVideo.

const { player, playback, videoPresentation } = useMoviiePlayer({
  embedId,
  // optional: override dashboard: omit to use playback.controls.showPip
  // pictureInPicture: true,
})

return (
  <MoviieVideo
    native={false}
    player={player}
    playback={playback}
    {...videoPresentation}
  />
)

On this page