@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.
Keep going from @capgo/capacitor-mux-player
Section titled “Keep going from @capgo/capacitor-mux-player”If you are using @capgo/capacitor-mux-player to plan native media and interface behavior, connect it with Using @capgo/capacitor-mux-player for the native capability in Using @capgo/capacitor-mux-player, Using @capgo/capacitor-live-activities for the native capability in Using @capgo/capacitor-live-activities, @capgo/capacitor-live-activities for the implementation detail in @capgo/capacitor-live-activities, Using @capgo/capacitor-video-player for the native capability in Using @capgo/capacitor-video-player, and @capgo/capacitor-video-player for the implementation detail in @capgo/capacitor-video-player.