Commit 3e293407 authored by Marc-Olivier Duval's avatar Marc-Olivier Duval
Browse files

updated readme to with a guid to setup exoplayer

parent 0fe621a2
Loading
Loading
Loading
Loading
+10 −0
Changes for README.md: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -269,6 +269,16 @@ Toggles a fullscreen player. Access using a ref to the component.

- [Lumpen Radio](https://github.com/jhabdas/lumpen-radio) contains another example integration using local files and full screen background video.

## Use ExoPlayer on Android

To use ExoPlayer instead of the default player, you have to change android to android-exoplayer in settings.gradle

**android/settings.gradle**

```gradle
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')
```

## TODOS

- [ ] Add support for captions