Update changelog and documentation

This commit is contained in:
vadim 2018-11-30 18:42:22 +02:00
parent 788df74d8e
commit 2caf713857
2 changed files with 10 additions and 9 deletions

View File

@ -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)

View File

@ -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