From 78ef91b6526aa6fa2001f9a7f288c583c18cfed7 Mon Sep 17 00:00:00 2001 From: Armands Malejevs Date: Thu, 12 May 2022 15:39:04 +0300 Subject: [PATCH] Update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 80577e2a..eb0b7fa1 100644 --- a/README.md +++ b/README.md @@ -278,6 +278,7 @@ var styles = StyleSheet.create({ * [automaticallyWaitsToMinimizeStalling](#automaticallyWaitsToMinimizeStalling) * [backBufferDurationMs](#backBufferDurationMs) * [bufferConfig](#bufferconfig) +* [contentStartTime](#contentStartTime) * [controls](#controls) * [currentPlaybackTime](#currentPlaybackTime) * [disableFocus](#disableFocus) @@ -412,11 +413,14 @@ Platforms: Android ExoPlayer, iOS #### 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 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). 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].