diff --git a/CHANGELOG.md b/CHANGELOG.md index de721463..18f920be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Version 4.0.1 * Add missing files to package.json [#1342](https://github.com/react-native-community/react-native-video/pull/1342) +* Add possibility to remove black screen while video is loading in Exoplayer [#1355](https://github.com/react-native-community/react-native-video/pull/1355) ### Version 4.0.0 * Partial support for timed metadata on Android MediaPlayer [#707](https://github.com/react-native-community/react-native-video/pull/707) diff --git a/README.md b/README.md index 65a3418c..4986cd91 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,7 @@ var styles = StyleSheet.create({ * [fullscreenAutorotate](#fullscreenautorotate) * [fullscreenOrientation](#fullscreenorientation) * [headers](#headers) +* [hideShutterView](#hideshutterview) * [id](#id) * [ignoreSilentSwitch](#ignoresilentswitch) * [muted](#muted) @@ -282,7 +283,6 @@ var styles = StyleSheet.create({ * [stereoPan](#stereopan) * [textTracks](#texttracks) * [useTextureView](#usetextureview) -* [hideShutterView](#hideshutterview) * [volume](#volume) ### Event props @@ -418,6 +418,14 @@ headers={{ Platforms: Android ExoPlayer +#### hideShutterView +Controls ExoPlayer shutterView(black screen while loading) visibility + +* **false (default)** - Show shutterView +* **true** - Hide shutterView + +Platforms: Android ExoPlayer + #### id Set the DOM id element so you can use document.getElementById on web platforms. Accepts string values. @@ -694,14 +702,6 @@ useTextureView can only be set at same time you're setting the source. Platforms: Android ExoPlayer -#### hideShutterView -Controls ExoPlayer shutterView(black screen while loading) visibility - -* **false (default)** - Show shutterView -* **true** - Hide shutterView - -Platforms: Android ExoPlayer - #### volume Adjust the volume. * **1.0 (default)** - Play at full volume