updated readme and version bump
This commit is contained in:
parent
16e45fc9f1
commit
094541b8a6
26
README.md
26
README.md
@ -281,6 +281,7 @@ var styles = StyleSheet.create({
|
||||
* [textTracks](#texttracks)
|
||||
* [useTextureView](#usetextureview)
|
||||
* [volume](#volume)
|
||||
* [filter](#filter)
|
||||
|
||||
### Event props
|
||||
* [onAudioBecomingNoisy](#onaudiobecomingnoisy)
|
||||
@ -299,6 +300,7 @@ var styles = StyleSheet.create({
|
||||
* [dismissFullscreenPlayer](#dismissfullscreenplayer)
|
||||
* [presentFullscreenPlayer](#presentfullscreenplayer)
|
||||
* [seek](#seek)
|
||||
* [saveAsync](#saveAsync())
|
||||
|
||||
### Configurable props
|
||||
|
||||
@ -665,6 +667,17 @@ Adjust the volume.
|
||||
|
||||
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
|
||||
|
||||
#### onAudioBecomingNoisy
|
||||
@ -902,6 +915,19 @@ this.player.seek(120, 50); // Seek to 2 minutes with +/- 50 milliseconds accurac
|
||||
|
||||
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
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-video",
|
||||
"version": "3.2.1",
|
||||
"version": "3.2.2",
|
||||
"description": "A <Video /> element for react-native",
|
||||
"main": "Video.js",
|
||||
"license": "MIT",
|
||||
|
Loading…
Reference in New Issue
Block a user