Unverified Commit 407ad14a authored by Hampton Maxwell's avatar Hampton Maxwell Committed by GitHub
Browse files

Reorder onExternalPlaybackChange alphabetically

parent 5e2b49c3
Loading
Loading
Loading
Loading
+19 −19
Changes for README.md: 19 added lines, 19 removed lines.
Original line number Diff line number Diff line
@@ -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:
```