feat(android): add settings button to control video playback speed (#4211)

This commit is contained in:
Seyed Mostafa Hasani
2024-10-05 20:04:25 +03:30
committed by GitHub
parent d81e6ea31e
commit d1883a7e00
7 changed files with 55 additions and 2 deletions

View File

@@ -157,6 +157,7 @@ Adjust the control styles. This prop is need only if `controls={true}` and is an
| hideDuration | boolean | The default value is `false`, allowing you to hide the duration. |
| hideNavigationBarOnFullScreenMode | boolean | The default value is `true`, allowing you to hide the navigation bar on full-screen mode. |
| hideNotificationBarOnFullScreenMode | boolean | The default value is `true`, allowing you to hide the notification bar on full-screen mode. |
| hideSettingButton | boolean | The default value is `true`, allowing you to hide the setting button. |
| seekIncrementMS | number | The default value is `10000`. You can change the value to increment forward and rewind. |
| liveLabel | string | Allowing you to set a label for live video. |
@@ -175,6 +176,7 @@ controlsStyles={{
hideDuration: false,
hideNavigationBarOnFullScreenMode: true,
hideNotificationBarOnFullScreenMode: true,
hideSettingButton: true,
seekIncrementMS: 10000,
liveLabel: "LIVE"
}}