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 ### Version 4.0.1
* Add missing files to package.json [#1342](https://github.com/react-native-community/react-native-video/pull/1342) * 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 ### Version 4.0.0
* Partial support for timed metadata on Android MediaPlayer [#707](https://github.com/react-native-community/react-native-video/pull/707) * 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) * [fullscreenAutorotate](#fullscreenautorotate)
* [fullscreenOrientation](#fullscreenorientation) * [fullscreenOrientation](#fullscreenorientation)
* [headers](#headers) * [headers](#headers)
* [hideShutterView](#hideshutterview)
* [id](#id) * [id](#id)
* [ignoreSilentSwitch](#ignoresilentswitch) * [ignoreSilentSwitch](#ignoresilentswitch)
* [muted](#muted) * [muted](#muted)
@ -282,7 +283,6 @@ var styles = StyleSheet.create({
* [stereoPan](#stereopan) * [stereoPan](#stereopan)
* [textTracks](#texttracks) * [textTracks](#texttracks)
* [useTextureView](#usetextureview) * [useTextureView](#usetextureview)
* [hideShutterView](#hideshutterview)
* [volume](#volume) * [volume](#volume)
### Event props ### Event props
@ -418,6 +418,14 @@ headers={{
Platforms: Android ExoPlayer Platforms: Android ExoPlayer
#### hideShutterView
Controls ExoPlayer shutterView(black screen while loading) visibility
* **false (default)** - Show shutterView
* **true** - Hide shutterView
Platforms: Android ExoPlayer
#### id #### id
Set the DOM id element so you can use document.getElementById on web platforms. Accepts string values. 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 Platforms: Android ExoPlayer
#### hideShutterView
Controls ExoPlayer shutterView(black screen while loading) visibility
* **false (default)** - Show shutterView
* **true** - Hide shutterView
Platforms: Android ExoPlayer
#### volume #### volume
Adjust the volume. Adjust the volume.
* **1.0 (default)** - Play at full volume * **1.0 (default)** - Play at full volume