Passer au contenu

@capgo/capacitor-mux-player

Native Mux Player SDK to play video on IOS and Android.

Native Mux Player SDK to play video on IOS and Android.

  • play - Launch the native Mux Player in fullscreen and begin playback.
  • dismiss - Dismiss the player if it is visible.
  • isActive - Returns whether the player is currently being displayed.
MethodDescription
playLaunch the native Mux Player in fullscreen and begin playback.
dismissDismiss the player if it is visible.
isActiveReturns whether the player is currently being displayed.
removeAllListenersRemove all event listeners registered on the plugin instance.
addListenerListen to player lifecycle or playback events emitted by the plugin.

This reference is synced from src/definitions.ts in capacitor-mux-player.