From 187158be34dbe2f3f19bebc1833268990887febf Mon Sep 17 00:00:00 2001 From: LeoGeng Date: Mon, 11 Jun 2018 00:31:22 +0800 Subject: [PATCH] add an entry in the README for allowsExternalPlayback property --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b1ee113e..936504fb 100644 --- a/README.md +++ b/README.md @@ -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.