@capgo/capacitor-mux-player
Native Mux Player SDK to play video on IOS and Android.
Overview
Section titled “Overview”Native Mux Player SDK to play video on IOS and Android.
Core Capabilities
Section titled “Core Capabilities”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.
Public API
Section titled “Public API”| Method | Description |
|---|---|
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. |
removeAllListeners | Remove all event listeners registered on the plugin instance. |
addListener | Listen to player lifecycle or playback events emitted by the plugin. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-mux-player.