fix: ensure poster works as expected and add it to the sample (#3643)
* fix: ensure poster works as expected and add it to the sample * chore: drop audioOnly property as not implemented on any platform * fix(ios): do not save pause state before seeking * fix(ts): onPlaybackRateChangeData was not correctly typed
This commit is contained in:
@@ -29,17 +29,6 @@ Indicates whether the player allows switching to external playback mode such as
|
||||
- **true (default)** - allow switching to external playback mode
|
||||
- **false** - Don't allow switching to external playback mode
|
||||
|
||||
### `audioOnly`
|
||||
|
||||
<PlatformsList types={['All']} />
|
||||
|
||||
Indicates whether the player should only play the audio track and instead of displaying the video track, show the poster instead.
|
||||
|
||||
- **false (default)** - Display the video as normal
|
||||
- **true** - Show the poster and play the audio
|
||||
|
||||
For this to work, the poster prop must be set.
|
||||
|
||||
### `audioOutput`
|
||||
|
||||
<PlatformsList types={['Android', 'iOS', 'visionOS']} />
|
||||
|
Reference in New Issue
Block a user