- Fix UI freezing when loading source by dispatching the loading in the global queue instead of main queue
- Update build.gradle for React Native 0.59+ compatibility
- Play audio through earpiece by default
- Turn on proximity sensor when playing audio
- Fix build caused by JCenter being removed
- Cherry picked from this commit
- Fix crash when RCTVideo's superclass doesn't observe the keyPath 'frame' (iOS) #1720
- Fix AndroidX Support bad merge
- AndroidX Support
- Handle racing conditions when props are setted on exoplayer
- Fix mute/unmute when controls are present (iOS) #1654
- Fix Android videos being able to play with background music/audio from other apps.
- Fixed memory leak on iOS when using
controls
#1647 - (Android) Update gradle and target SDK #1629
- Fix iOS stressed mount/unmount crash #1646
- Change compileOnly to implementation on gradle (for newer gradle versions and react-native 0.59 support) #1592
- Replaced RCTBubblingEventBlock events by RCTDirectEventBlock to avoid event name collisions #1625
- Added
onPlaybackRateChange
to README #1578 - Added
onReadyForDisplay
to README #1627 - Improved handling of poster image. Fixes bug with displaying video and poster simultaneously. #1627
- Fix background audio stopping on iOS when using
controls
#1614
- Fix tvOS picture-in-picture compilation regression #1518
- fullscreen rotation issues with iOS built-in controls #1441
- Fix player freeze when playing audio files on ExoPlayer #1529
- Fix runtime warning by replacing
UIManager.RCTVideo
withUIManager.getViewManagerConfig('RCTVideo')
(and ensuring backwards compat) #1487 - Fix loading package resolved videos when using video-caching #1438
- Fix "message sent to deallocated instance" crash on ios #1482
- Display a warning when source is empty #1478
- Don't crash on iOS for an empty source #1246
- Recover from from transient internet failures when loading on ExoPlayer #1448
- Add controls support for ExoPlayer #1414
- Fix check for text tracks when iOS caching enabled #1387
- Add support for Picture in Picture on iOS #1325
- Fix UIManager undefined variable #1488
- Fix iOS video not displaying after switching source #1395
- Add the filterEnabled flag, fixes iOS video start time regression #1384
- Fix text not appearing in release builds of Android apps #1373
- Update to ExoPlayer 2.9.3 #1406
- Add video track selection & onBandwidthUpdate #1199
- Recovery from transient internet failures and props to configure the custom retry count #1448
- Don't initialize filters on iOS unless a filter is set. This was causing a startup performance regression #1360
- Support setting the maxBitRate #1310
- Fix useTextureView not defaulting to true #1383
- Fix crash on MediaPlayer w/ Android 4.4 & avoid memory leak #1328
- Generate onSeek on Android ExoPlayer & MediaPlayer after seek completes #1351
- Remove unneeded onVideoSaved event #1350
- Disable AirPlay if sidecar text tracks are enabled #1304
- Add possibility to remove black screen while video is loading in Exoplayer #1355
- Add missing files to package.json #1342
- Partial support for timed metadata on Android MediaPlayer #707
- Support video caching for iOS #955
- Video caching cleanups #1172
- Add ipod-library support #926
- Fix crash on ExoPlayer when there are no audio tracks #1233
- Reduce package size #1231
- Remove unnecessary import in TextTrackType #1229
- Prevent flash between poster and video #1167
- Support react-native-dom #1253
- Update to ExoPlayer 2.8.2. Android SDK 26 now required #1170
- Update to ExoPlayer 2.8.4 #1266
- Add fullscreenOrientation option for iOS #1215
- Update to ExoPlayer 2.9.0 #1285
- Switch useTextureView to default to
true
#1286 - Re-add fullscreenAutorotate prop #1303
- Make seek throw a useful error for NaN values #1283
- Video Filters and Save Video #1306
- Fix: volume should not change on onAudioFocusChange event #1327
- Update ExoPlayer to 2.9.1 and OkHTTP to 3.12.0 #1338
- Basic fullscreen support for Android MediaPlayer #1138
- Simplify default Android SDK code #1145 #1146
- Various iOS sideloaded text track fixes #1157
- Fix #1150 where assets with bundled assets don't work on iOS in release mode #1162
- Support configuring the buffer on Android ExoPlayer #1160
- Prevent sleep from sleeping while videos are playing on Android MediaPlayer #1117
- Update NewtonSoft JSON to match react-native-windows version #1169
- Inherit Android buildtools and SDK version from the root project #1081
- Automatically play on ExoPlayer when the paused prop is not set #1083
- Preserve Android MediaPlayer paused prop when backgrounding #1082
- Support specifying headers on ExoPlayer as part of the source #805
- Prevent iOS onLoad event during seeking #1088
- ExoPlayer playableDuration incorrect #1089
- Revert PR to inherit Android SDK versions from root project. Re-add in 3.0 #1080
- Support allowsExternalPlayback on iOS #1057
- Inherit Android buildtools and SDK version from the root project #999
- Fix bug that caused ExoPlayer to start paused if playInBackground was set #833
- Fix crash if clearing an observer on iOS that was already cleared #1075
- Add audioOnly prop for music files #1039
- Support seeking with more exact tolerance on iOS #1076
- Text track selection support for iOS & ExoPlayer #1049
- Support outputting to a TextureView on Android ExoPlayer #1058
- Support changing the left/right balance on Android MediaPlayer #1051
- Prevent multiple onEnd notifications on iOS #832
- Fix doing a partial swipe on iOS causing a black screen #1048
- Fix crash when switching to a new source on iOS #974
- Add cookie support for ExoPlayer #922
- Remove ExoPlayer onMetadata that wasn't being used #1040
- Fix bug where setting the progress interval on iOS didn't work #800
- Support setting the poster resize mode #595