ExperimentalOptionalgetExperimental
Returns the current playback time, in seconds.
A finite, non-negative time, or null or undefined to use the content player's time.
Invalid times also fall back to the content player.
OptionalgetExperimental
Returns the playback duration, in seconds.
The duration, or null or undefined to use the content player's duration.
Infinity and NaN are preserved for live or unknown durations.
OptionalgetExperimental
Returns whether audio is muted.
The muted state, or null or undefined to use the content player's state.
OptionalgetExperimental
Returns the audio volume.
A volume between 0 and 1, or null or undefined to use the content player's volume.
OptionalisExperimental
Returns whether playback is paused.
The paused state, or null or undefined to use the content player's state.
OptionalisExperimental
Returns whether a seek is in progress.
The seeking state, or null or undefined to use the content player's state.
OptionalpauseExperimental
Requests playback to pause.
true if handled, or false to pause the content player instead.
OptionalplayExperimental
Requests playback to start or resume.
true if handled, or false to play the content player instead.
OptionalsetExperimental
Requests a seek to the given playback time.
The requested time, in seconds.
true if handled, or false to seek the content player instead.
OptionalsetExperimental
Requests a change to the muted state.
Whether audio should be muted.
true if handled, or false to update the content player instead.
OptionalsetExperimental
Requests a change to the audio volume.
The requested volume, between 0 and 1.
true if handled, or false to update the content player instead.
Describes optional playback overrides supplied by a player facade integration.
Remarks
- Requires PlayerConfiguration.usePlayerFacade when creating the player.
- Registration takes place on the Web native handle or through the Android native API, not on the React Native player API.
- Omitted hooks and nullish getter results delegate to the content player.
- The integration owns playback synchronization and must dispatch events when its public state changes.
This API is subject to change or removal without notice.
Platform