Commit 187158be authored by LeoGeng's avatar LeoGeng
Browse files

add an entry in the README for allowsExternalPlayback property

parent 6f5211f2
Loading
Loading
Loading
Loading
+7 −0
Changes for README.md: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -232,6 +232,7 @@ var styles = StyleSheet.create({
* [resizeMode](#resizemode)
* [selectedTextTrack](#selectedtexttrack)
* [volume](#volume)
* [allowsExternalPlayback](#allowsExternalPlayback)

#### ignoreSilentSwitch
Controls the iOS silent switch behavior
@@ -345,6 +346,12 @@ Adjust the volume.

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

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.