readme update
This commit is contained in:
parent
d7efcf315f
commit
5e2b49c343
19
README.md
19
README.md
@ -257,6 +257,7 @@ var styles = StyleSheet.create({
|
||||
* [onLoadStart](#onloadstart)
|
||||
* [onProgress](#onprogress)
|
||||
* [onTimedMetadata](#ontimedmetadata)
|
||||
* [onExternalPlaybackChange](#onexternalplaybackchange)
|
||||
|
||||
### Methods
|
||||
* [dismissFullscreenPlayer](#dismissfullscreenplayer)
|
||||
@ -721,6 +722,24 @@ Support for timed metadata on Android MediaPlayer is limited at best and only co
|
||||
|
||||
Platforms: Android ExoPlayer, Android MediaPlayer, iOS
|
||||
|
||||
#### onExternalPlaybackChange
|
||||
Callback function that is called when external playback mode for current playing video has changed. Mostly useful when connecting/disconnecting to Apple TV – it's called on connection/disconnection.
|
||||
|
||||
Payload:
|
||||
|
||||
Property | Type | Description
|
||||
--- | --- | ---
|
||||
isExternalPlaybackActive | boolean | Boolean indicating is external playback mode is active
|
||||
|
||||
Example:
|
||||
```
|
||||
{
|
||||
isExternalPlaybackActive: true
|
||||
}
|
||||
```
|
||||
|
||||
Platforms: iOS
|
||||
|
||||
### Methods
|
||||
Methods operate on a ref to the Video element. You can create a ref using code like:
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user