feat(android): handle increment forward and rewind buttons (#3818)

* feat(android): handle increment forward and rewind buttons
* fix: function name for get seekIncrementMS
This commit is contained in:
Seyed Mostafa Hasani
2024-05-28 00:32:30 -07:00
committed by GitHub
parent 46e12e0b94
commit 5059e7a7f1
5 changed files with 20 additions and 3 deletions

View File

@@ -53,15 +53,17 @@ A Boolean value that indicates whether the player should automatically delay pla
Adjust the control styles. This prop is need only if `controls={true}` and is an object. See the list of prop supported below.
| Property | Type | Description |
|-------------|---------|--------------------------------------------------------------------------------------|
| hideSeekBar | boolean | The default value is `false`, allowing you to hide the seek bar for live broadcasts. |
| Property | Type | Description |
|-----------------|---------|-----------------------------------------------------------------------------------------|
| hideSeekBar | boolean | The default value is `false`, allowing you to hide the seek bar for live broadcasts. |
| seekIncrementMS | number | The default value is `10000`. You can change the value to increment forward and rewind. |
Example with default values:
```javascript
controlsStyles={{
hideSeekBar: false,
seekIncrementMS: 10000,
}}
```