VEX-7213: Update readme to include missing props (#32)

This commit is contained in:
Armands Malejev 2022-05-16 10:54:04 +03:00 committed by GitHub
parent c193fe873e
commit 87472ebd4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,6 +278,7 @@ var styles = StyleSheet.create({
* [automaticallyWaitsToMinimizeStalling](#automaticallyWaitsToMinimizeStalling) * [automaticallyWaitsToMinimizeStalling](#automaticallyWaitsToMinimizeStalling)
* [backBufferDurationMs](#backBufferDurationMs) * [backBufferDurationMs](#backBufferDurationMs)
* [bufferConfig](#bufferconfig) * [bufferConfig](#bufferconfig)
* [contentStartTime](#contentStartTime)
* [controls](#controls) * [controls](#controls)
* [currentPlaybackTime](#currentPlaybackTime) * [currentPlaybackTime](#currentPlaybackTime)
* [disableFocus](#disableFocus) * [disableFocus](#disableFocus)
@ -412,11 +413,14 @@ Platforms: Android ExoPlayer, iOS
#### controls #### controls
Determines whether to show player controls. Determines whether to show player controls.
* ** false (default)** - Don't show player controls * **false (default)** - Don't show player controls
* **true** - Show player controls * **true** - Show player controls
Note on iOS, controls are always shown when in fullscreen mode. Note on iOS, controls are always shown when in fullscreen mode.
### contentStartTime
The start time in ms for SSAI content. This determines at what time to load the video info like resolutions. Use this only when you have SSAI stream where ads resolution is not the same as content resolution.
For Android MediaPlayer, you will need to build your own controls or use a package like [react-native-video-controls](https://github.com/itsnubix/react-native-video-controls) or [react-native-video-player](https://github.com/cornedor/react-native-video-player). For Android MediaPlayer, you will need to build your own controls or use a package like [react-native-video-controls](https://github.com/itsnubix/react-native-video-controls) or [react-native-video-player](https://github.com/cornedor/react-native-video-player).
Note on Android ExoPlayer, native controls are available by default. If needed, you can also add your controls or use a package like [react-native-video-controls]. Note on Android ExoPlayer, native controls are available by default. If needed, you can also add your controls or use a package like [react-native-video-controls].