add an entry in the README for allowsExternalPlayback property

This commit is contained in:
LeoGeng 2018-06-11 00:31:22 +08:00
parent 6f5211f2c4
commit 187158be34

View File

@ -232,6 +232,7 @@ var styles = StyleSheet.create({
* [resizeMode](#resizemode) * [resizeMode](#resizemode)
* [selectedTextTrack](#selectedtexttrack) * [selectedTextTrack](#selectedtexttrack)
* [volume](#volume) * [volume](#volume)
* [allowsExternalPlayback](#allowsExternalPlayback)
#### ignoreSilentSwitch #### ignoreSilentSwitch
Controls the iOS silent switch behavior Controls the iOS silent switch behavior
@ -345,6 +346,12 @@ Adjust the volume.
Platforms: all Platforms: all
#### allowsExternalPlayback
A Boolean value that indicates whether the player allows switching to external playback mode.
* **true (default)** - allow switching to external playback mode
* **false** - Don't allow switching to external playback mode
Platforms: iOS
### 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.