updated readme and version bump

This commit is contained in:
Nicolas Gonzalez 2018-10-26 08:40:46 -05:00
parent 16e45fc9f1
commit 094541b8a6
2 changed files with 27 additions and 1 deletions

View File

@ -281,6 +281,7 @@ var styles = StyleSheet.create({
* [textTracks](#texttracks) * [textTracks](#texttracks)
* [useTextureView](#usetextureview) * [useTextureView](#usetextureview)
* [volume](#volume) * [volume](#volume)
* [filter](#filter)
### Event props ### Event props
* [onAudioBecomingNoisy](#onaudiobecomingnoisy) * [onAudioBecomingNoisy](#onaudiobecomingnoisy)
@ -299,6 +300,7 @@ var styles = StyleSheet.create({
* [dismissFullscreenPlayer](#dismissfullscreenplayer) * [dismissFullscreenPlayer](#dismissfullscreenplayer)
* [presentFullscreenPlayer](#presentfullscreenplayer) * [presentFullscreenPlayer](#presentfullscreenplayer)
* [seek](#seek) * [seek](#seek)
* [saveAsync](#saveAsync())
### Configurable props ### Configurable props
@ -665,6 +667,17 @@ Adjust the volume.
Platforms: all Platforms: all
#### filter
Add video filter
* **Normal (default)** - Normal Filter
* **Country** - Sepia Filter
* **Winter** - Cool Filter
* **Black N White** - Black and White Filter
* **Sunrise** - Warm Filter
* **Artistic** - Posterize Filter
Platforms: iOS
### Event props ### Event props
#### onAudioBecomingNoisy #### onAudioBecomingNoisy
@ -902,6 +915,19 @@ this.player.seek(120, 50); // Seek to 2 minutes with +/- 50 milliseconds accurac
Platforms: iOS Platforms: iOS
##### saveAsync()
`saveAsync(): Promise`
Save video with current filter. Returns promise.
Example:
```
let response = await this.save();
let path = response.uri;
```
Platforms: iOS
### iOS App Transport Security ### iOS App Transport Security

View File

@ -1,6 +1,6 @@
{ {
"name": "react-native-video", "name": "react-native-video",
"version": "3.2.1", "version": "3.2.2",
"description": "A <Video /> element for react-native", "description": "A <Video /> element for react-native",
"main": "Video.js", "main": "Video.js",
"license": "MIT", "license": "MIT",