Reorder onExternalPlaybackChange alphabetically
This commit is contained in:
parent
5e2b49c343
commit
407ad14a16
38
README.md
38
README.md
@ -249,6 +249,7 @@ var styles = StyleSheet.create({
|
|||||||
|
|
||||||
### Event props
|
### Event props
|
||||||
* [onAudioBecomingNoisy](#onaudiobecomingnoisy)
|
* [onAudioBecomingNoisy](#onaudiobecomingnoisy)
|
||||||
|
* [onExternalPlaybackChange](#onexternalplaybackchange)
|
||||||
* [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent)
|
* [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent)
|
||||||
* [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent)
|
* [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent)
|
||||||
* [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss)
|
* [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss)
|
||||||
@ -257,7 +258,6 @@ var styles = StyleSheet.create({
|
|||||||
* [onLoadStart](#onloadstart)
|
* [onLoadStart](#onloadstart)
|
||||||
* [onProgress](#onprogress)
|
* [onProgress](#onprogress)
|
||||||
* [onTimedMetadata](#ontimedmetadata)
|
* [onTimedMetadata](#ontimedmetadata)
|
||||||
* [onExternalPlaybackChange](#onexternalplaybackchange)
|
|
||||||
|
|
||||||
### Methods
|
### Methods
|
||||||
* [dismissFullscreenPlayer](#dismissfullscreenplayer)
|
* [dismissFullscreenPlayer](#dismissfullscreenplayer)
|
||||||
@ -587,6 +587,24 @@ Payload: none
|
|||||||
|
|
||||||
Platforms: Android ExoPlayer, iOS
|
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
|
#### onFullscreenPlayerWillPresent
|
||||||
Callback function that is called when the player is about to enter fullscreen mode.
|
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
|
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
|
||||||
Methods operate on a ref to the Video element. You can create a ref using code like:
|
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