Reorder onExternalPlaybackChange alphabetically

This commit is contained in:
Hampton Maxwell 2018-10-07 15:56:15 -07:00 committed by GitHub
parent 5e2b49c343
commit 407ad14a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,6 +249,7 @@ var styles = StyleSheet.create({
### Event props
* [onAudioBecomingNoisy](#onaudiobecomingnoisy)
* [onExternalPlaybackChange](#onexternalplaybackchange)
* [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent)
* [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent)
* [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss)
@ -257,7 +258,6 @@ var styles = StyleSheet.create({
* [onLoadStart](#onloadstart)
* [onProgress](#onprogress)
* [onTimedMetadata](#ontimedmetadata)
* [onExternalPlaybackChange](#onexternalplaybackchange)
### Methods
* [dismissFullscreenPlayer](#dismissfullscreenplayer)
@ -587,6 +587,24 @@ Payload: none
Platforms: Android ExoPlayer, 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
#### onFullscreenPlayerWillPresent
Callback function that is called when the player is about to enter fullscreen mode.
@ -722,24 +740,6 @@ 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:
```