Optional
configConfigures the visual presentation and behaviour of the PlayerView. The value must not be altered after setting it initially.
Optional
customThe CustomMessageHandler that can be used to directly communicate with the embedded Bitmovin Web UI.
Optional
fullscreenThe FullscreenHandler that is used by the PlayerView to control the fullscreen mode.
Optional
isCan be set to true
to request fullscreen mode, or false
to request exit of fullscreen mode.
Should not be used to get the current fullscreen state. Use PlayerViewEvents.onFullscreenEnter and PlayerViewEvents.onFullscreenExit
or the FullscreenHandler.isFullscreenActive property to get the current state.
Using this property to change the fullscreen state, it is ensured that the embedded Player UI is also aware
of potential fullscreen state changes.
To use this property, a FullscreenHandler must be set.
Optional
isCan be set to true
to request Picture in Picture mode, or false
to request exit of Picture in Picture mode.
Should not be used to get the current Picture in Picture state. Use PlayerViewEvents.onPictureInPictureEnter and PlayerViewEvents.onPictureInPictureExit.
Optional
onEvent emitted when an ad break has finished.
Optional
onEvent emitted when an ad break has started.
Optional
onEvent emitted when an ad has been clicked.
Optional
onEvent emitted when an ad error has occurred.
Optional
onEvent emitted when an ad has finished.
Optional
onEvent emitted when an ad manifest starts loading.
Optional
onEvent emitted when an ad manifest has been loaded.
Optional
onEvent emitted when an ad quartile has been reached.
Optional
onEvent emitted when an ad has been scheduled.
Optional
onEvent emitted when an ad has been skipped.
Optional
onEvent emitted when an ad has started.
Optional
onEvent emitted when a new audio track is added to the player.
Optional
onEvent emitted when the player's selected audio track has changed.
Optional
onEvent emitted when an audio track is removed from the player.
Optional
onEvent emitted when casting to a cast-compatible device is available.
iOS, Android
Optional
onEvent emitted when the playback on a cast-compatible device was paused.
iOS, Android
Optional
onEvent emitted when the playback on a cast-compatible device has finished.
iOS, Android
Optional
onEvent emitted when playback on a cast-compatible device has started.
iOS, Android
Optional
onEvent emitted when casting is initiated, but the user still needs to choose which device should be used.
iOS, Android
Optional
onEvent emitted when the cast app is launched successfully.
iOS, Android
Optional
onEvent emitted when casting to a cast-compatible device is stopped.
iOS, Android
Optional
onEvent emitted when the time update from the currently used cast-compatible device is received.
iOS, Android
Optional
onEvent emitted when a cast-compatible device has been chosen and the player is waiting for the device to get ready for playback.
iOS, Android
Optional
onEvent emitted when a subtitle entry transitions into the active status.
Optional
onEvent emitted when an active subtitle entry transitions into the inactive status.
Optional
onEvent emitted when the player is destroyed.
Optional
onEmitted when a download was finished.
Optional
onAll events emitted by the player.
Optional
onEvent emitted when fullscreen mode has been disabled.
iOS, Android
Optional
onEvent emitted when fullscreen mode has been enabled.
iOS, Android
Optional
onEvent emitted when fullscreen mode has been entered.
iOS, Android
Optional
onEvent emitted when fullscreen mode has been exited.
iOS, Android
Optional
onEvent emitted when the player has been muted.
Optional
onEvent emitted when the player has been paused.
Optional
onEvent mitted when the availability of the Picture in Picture mode changed.
Optional
onEvent emitted when the player enters Picture in Picture mode.
Optional
onEvent emitted when the player entered Picture in Picture mode.
iOS
Optional
onEvent emitted when the player exits Picture in Picture mode.
Optional
onEvent emitted when the player exited Picture in Picture mode.
iOS
Optional
onEvent emitted when the player received an intention to start/resume playback.
Optional
onEvent emitted when the playback of the current media has finished.
Optional
onEmitted when the player transitions from one playback speed to another.
iOS, tvOS
Optional
onEvent emitted when a source is loaded into the player. Seeking and time shifting are allowed as soon as this event is seen.
Optional
onEvent Emitted when a player error occurred.
Optional
onEvent emitted when a player warning occurred.
Optional
onEmitted when playback has started.
Optional
onEmitted when the player is ready for immediate playback, because initial audio/video has been downloaded.
Optional
onEvent emitted when the player is about to seek to a new position. Only applies to VoD streams.
Optional
onEvent emitted when seeking has finished and data to continue playback is available. Only applies to VoD streams.
Optional
onEvent emitted when a source error occurred.
Optional
onEvent emitted when a new source loading has started.
Optional
onEvent emitted when a new source is loaded.
This does not mean that the source is immediately ready for playback.
ReadyEvent
indicates the player is ready for immediate playback.
Optional
onEvent emitted when the current source has been unloaded.
Optional
onEvent emitted when a source warning occurred.
Optional
onEvent emitted when the player ends stalling, due to enough data in the buffer.
Optional
onEvent emitted when the player begins to stall and to buffer due to an empty buffer.
Optional
onEvent emitted when a new subtitle track is added to the player.
Optional
onEvent emitted when the player's selected subtitle track has changed.
Optional
onEvent emitted when a subtitle track is removed from the player.
Optional
onEvent emitted when the current playback time has changed.
Optional
onEvent mitted when the player starts time shifting. Only applies to live streams.
Optional
onEvent emitted when time shifting has finished and data is available to continue playback. Only applies to live streams.
Optional
onEmitted when the player is unmuted.
Optional
onEmitted when current video download quality has changed.
Optional
onEmitted when the current video playback quality has changed.
Player instance (generally returned from usePlayer hook) that will control and render audio/video inside the PlayerView.
Optional
scalingA value defining how the video is displayed within the parent container's bounds. Possible values are defined in ScalingMode.
Optional
styleStyle of the PlayerView.
Optional
view
PlayerView component props.