Alphabetize filter & save

This commit is contained in:
Hampton Maxwell 2018-11-04 17:40:07 -08:00 committed by GitHub
parent 67f01aae90
commit 40fb19f7c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,6 +259,7 @@ var styles = StyleSheet.create({
* [audioOnly](#audioonly) * [audioOnly](#audioonly)
* [bufferConfig](#bufferconfig) * [bufferConfig](#bufferconfig)
* [controls](#controls) * [controls](#controls)
* [filter](#filter)
* [fullscreen](#fullscreen) * [fullscreen](#fullscreen)
* [fullscreenOrientation](#fullscreenorientation) * [fullscreenOrientation](#fullscreenorientation)
* [headers](#headers) * [headers](#headers)
@ -281,7 +282,6 @@ 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,8 +299,8 @@ var styles = StyleSheet.create({
### Methods ### Methods
* [dismissFullscreenPlayer](#dismissfullscreenplayer) * [dismissFullscreenPlayer](#dismissfullscreenplayer)
* [presentFullscreenPlayer](#presentfullscreenplayer) * [presentFullscreenPlayer](#presentfullscreenplayer)
* [save](#save)
* [seek](#seek) * [seek](#seek)
* [saveAsync](#saveAsync())
### Configurable props ### Configurable props
@ -353,6 +353,17 @@ Note on iOS, controls are always shown when in fullscreen mode.
Platforms: iOS, react-native-dom Platforms: iOS, react-native-dom
#### filter
Add video filter
* **Normal (default)** - Normal Filter
* **Artistic** - Posterize Filter
* **Black N White** - Black and White Filter
* **Country** - Sepia Filter
* **Sunrise** - Warm Filter
* **Winter** - Cool Filter
Platforms: iOS
#### fullscreen #### fullscreen
Controls whether the player enters fullscreen on play. Controls whether the player enters fullscreen on play.
* **false (default)** - Don't display the video in fullscreen * **false (default)** - Don't display the video in fullscreen
@ -667,16 +678,6 @@ 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
@ -886,6 +887,19 @@ this.player.presentFullscreenPlayer();
Platforms: Android ExoPlayer, Android MediaPlayer, iOS Platforms: Android ExoPlayer, Android MediaPlayer, iOS
#### save
`save(): Promise`
Save video with current filter prop. Returns promise.
Example:
```
let response = await this.save();
let path = response.uri;
```
Platforms: iOS
#### seek() #### seek()
`seek(seconds)` `seek(seconds)`
@ -915,18 +929,7 @@ 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