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) * [repeat](#repeat)
* [resizeMode](#resizemode) * [resizeMode](#resizemode)
* [selectedTextTrack](#selectedtexttrack) * [selectedTextTrack](#selectedtexttrack)
* [stereoPan](#stereopan)
* [volume](#volume) * [volume](#volume)
#### ignoreSilentSwitch #### ignoreSilentSwitch
@ -337,6 +338,14 @@ If a track matching the specified Type (and Value if appropriate) is unavailable
Platforms: Android ExoPlayer, iOS 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 #### volume
Adjust the volume. Adjust the volume.
* **1.0 (default)** - Play at full volume * **1.0 (default)** - Play at full volume
@ -345,14 +354,6 @@ Adjust the volume.
Platforms: all 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 ### 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. 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.