updated readme to with a guid to setup exoplayer

This commit is contained in:
Marc-Olivier Duval 2017-10-24 22:50:20 -04:00
parent 0fe621a26d
commit 3e293407e8

View File

@ -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