Commit 5e2b49c3 authored by Artur Jaworski's avatar Artur Jaworski
Browse files

readme update

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