Show stereoPan platform as Android MediaPlayer

This commit is contained in:
Hampton Maxwell 2018-06-07 22:51:50 -07:00 committed by GitHub
parent 982019fd1c
commit 04cb01fdcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,6 +231,7 @@ var styles = StyleSheet.create({
* [repeat](#repeat)
* [resizeMode](#resizemode)
* [selectedTextTrack](#selectedtexttrack)
* [stereoPan](#stereopan)
* [volume](#volume)
#### ignoreSilentSwitch
@ -337,6 +338,14 @@ If a track matching the specified Type (and Value if appropriate) is unavailable
Platforms: Android ExoPlayer, iOS
#### stereoPan
The audio players stereo pan position. Any value between 1.0 and 1.0 is accepted.
* **-1.0** - Full left
* **0.0 (default)** - Center
* **1.0** - Full right
Platforms: Android MediaPlayer
#### volume
Adjust the volume.
* **1.0 (default)** - Play at full volume
@ -345,14 +354,6 @@ Adjust the volume.
Platforms: all
#### stereoPan
The audio players stereo pan position. Any value between 1.0 and 1.0 is accepted.
* **-1.0** - Full left
* **0.0 (default)** - Center
* **1.0** - Full right
Platforms: Android
### Additional props
To see the full list of available props, you can check the [propTypes](https://github.com/react-native-community/react-native-video/blob/master/Video.js#L246) of the Video.js component.