2018-05-29 17:12:51 -06:00
## Changelog
2019-01-24 05:15:58 -07:00
### next
2019-02-07 09:14:27 -07:00
* Fix Android videos being able to play with background music/audio from other apps.
2019-01-24 05:15:58 -07:00
* Fix loading package resolved videos when using video-caching [#1438 ](https://github.com/react-native-community/react-native-video/pull/1438 )
2018-12-31 23:04:28 -07:00
### Version 4.3.0
2018-12-30 20:21:14 -07:00
* Fix iOS video not displaying after switching source [#1395 ](https://github.com/react-native-community/react-native-video/pull/1395 )
* Add the filterEnabled flag, fixes iOS video start time regression [#1384 ](https://github.com/react-native-community/react-native-video/pull/1384 )
2018-12-31 14:52:46 -07:00
* Fix text not appearing in release builds of Android apps [#1373 ](https://github.com/react-native-community/react-native-video/pull/1373 )
* Update to ExoPlayer 2.9.3 [#1406 ](https://github.com/react-native-community/react-native-video/pull/1406 )
2018-12-31 23:04:28 -07:00
* Add video track selection & onBandwidthUpdate [#1199 ](https://github.com/react-native-community/react-native-video/pull/1199 )
2018-12-30 20:21:14 -07:00
2018-12-13 11:14:02 -07:00
### Version 4.2.0
2018-12-12 23:24:09 -07:00
* Don't initialize filters on iOS unless a filter is set. This was causing a startup performance regression [#1360 ](https://github.com/react-native-community/react-native-video/pull/1360 )
2018-12-13 11:14:02 -07:00
* Support setting the maxBitRate [#1310 ](https://github.com/react-native-community/react-native-video/pull/1310 )
* Fix useTextureView not defaulting to true [#1383 ](https://github.com/react-native-community/react-native-video/pull/1383 )
2018-12-13 13:51:17 -07:00
* Fix crash on MediaPlayer w/ Android 4.4 & avoid memory leak [#1328 ](https://github.com/react-native-community/react-native-video/pull/1328 )
2018-12-12 23:24:09 -07:00
2018-12-05 21:12:55 -07:00
### Version 4.1.0
2018-11-27 20:55:10 -07:00
* Generate onSeek on Android ExoPlayer & MediaPlayer after seek completes [#1351 ](https://github.com/react-native-community/react-native-video/pull/1351 )
* Remove unneeded onVideoSaved event [#1350 ](https://github.com/react-native-community/react-native-video/pull/1350 )
2018-12-05 18:39:20 -07:00
* Disable AirPlay if sidecar text tracks are enabled [#1304 ](https://github.com/react-native-community/react-native-video/pull/1304 )
2018-12-05 21:10:50 -07:00
* Add possibility to remove black screen while video is loading in Exoplayer [#1355 ](https://github.com/react-native-community/react-native-video/pull/1355 )
2018-11-27 20:55:10 -07:00
2018-11-21 10:25:24 -07:00
### Version 4.0.1
* Add missing files to package.json [#1342 ](https://github.com/react-native-community/react-native-video/pull/1342 )
2018-11-21 01:08:52 -07:00
### Version 4.0.0
2018-08-07 12:43:09 -06:00
* Partial support for timed metadata on Android MediaPlayer [#707 ](https://github.com/react-native-community/react-native-video/pull/707 )
2018-08-08 14:43:47 -06:00
* Support video caching for iOS [#955 ](https://github.com/react-native-community/react-native-video/pull/955 )
2018-08-27 20:09:05 -06:00
* Video caching cleanups [#1172 ](https://github.com/react-native-community/react-native-video/pull/1172 )
2018-09-03 19:31:04 -06:00
* Add ipod-library support [#926 ](https://github.com/react-native-community/react-native-video/pull/926/files )
2018-09-12 20:42:11 -06:00
* Fix crash on ExoPlayer when there are no audio tracks [#1233 ](https://github.com/react-native-community/react-native-video/pull/1233 )
2018-09-22 16:01:51 -06:00
* Reduce package size [#1231 ](https://github.com/react-native-community/react-native-video/pull/1231 )
* Remove unnecessary import in TextTrackType [#1229 ](https://github.com/react-native-community/react-native-video/pull/1229 )
2018-09-27 14:55:57 -06:00
* Prevent flash between poster and video [#1167 ](https://github.com/react-native-community/react-native-video/pull/1167 )
2018-09-27 17:07:11 -06:00
* Support react-native-dom [#1253 ](https://github.com/react-native-community/react-native-video/pull/1253 )
2018-10-07 13:55:34 -06:00
* Update to ExoPlayer 2.8.2. Android SDK 26 now required [#1170 ](https://github.com/react-native-community/react-native-video/pull/1170 )
* Update to ExoPlayer 2.8.4 [#1266 ](https://github.com/react-native-community/react-native-video/pull/1266 )
2018-10-13 20:16:07 -06:00
* Add fullscreenOrientation option for iOS [#1215 ](https://github.com/react-native-community/react-native-video/pull/1215 )
2018-10-13 21:16:41 -06:00
* Update to ExoPlayer 2.9.0 [#1285 ](https://github.com/react-native-community/react-native-video/pull/1285 )
2018-10-13 21:24:08 -06:00
* Switch useTextureView to default to `true` [#1286 ](https://github.com/react-native-community/react-native-video/pull/1286 )
2018-11-14 00:04:03 -07:00
* Re-add fullscreenAutorotate prop [#1303 ](https://github.com/react-native-community/react-native-video/pull/1303 )
2018-11-14 00:12:08 -07:00
* Make seek throw a useful error for NaN values [#1283 ](https://github.com/react-native-community/react-native-video/pull/1283 )
2018-10-26 07:50:59 -06:00
* Video Filters and Save Video [#1306 ](https://github.com/react-native-community/react-native-video/pull/1306 )
2018-11-14 04:47:18 -07:00
* Fix: volume should not change on onAudioFocusChange event [#1327 ](https://github.com/react-native-community/react-native-video/pull/1327 )
2018-11-21 01:08:52 -07:00
* Update ExoPlayer to 2.9.1 and OkHTTP to 3.12.0 [#1338 ](https://github.com/react-native-community/react-native-video/pull/1338 )
2018-08-07 12:43:09 -06:00
2018-08-05 19:31:33 -06:00
### Version 3.2.0
2018-07-17 18:50:09 -06:00
* Basic fullscreen support for Android MediaPlayer [#1138 ](https://github.com/react-native-community/react-native-video/pull/1138 )
2018-07-24 15:24:46 -06:00
* Simplify default Android SDK code [#1145 ](https://github.com/react-native-community/react-native-video/pull/1145 ) [#1146 ](https://github.com/react-native-community/react-native-video/pull/1146 )
2018-08-02 13:13:16 -06:00
* Various iOS sideloaded text track fixes [#1157 ](https://github.com/react-native-community/react-native-video/pull/1157 )
2018-08-02 13:15:04 -06:00
* Fix #1150 where assets with bundled assets don't work on iOS in release mode [#1162 ](https://github.com/react-native-community/react-native-video/pull/1162 )
2018-08-03 17:07:57 -06:00
* Support configuring the buffer on Android ExoPlayer [#1160 ](https://github.com/react-native-community/react-native-video/pull/1160 )
2018-08-05 18:36:17 -06:00
* Prevent sleep from sleeping while videos are playing on Android MediaPlayer [#1117 ](https://github.com/react-native-community/react-native-video/pull/1117 )
2018-08-05 19:17:11 -06:00
* Update NewtonSoft JSON to match react-native-windows version [#1169 ](https://github.com/react-native-community/react-native-video/pull/1169 )
2018-07-17 18:50:09 -06:00
2018-07-16 16:45:14 -06:00
### Version 3.1.0
2018-07-11 10:23:39 -06:00
* Support sidecar text tracks on iOS [#1109 ](https://github.com/react-native-community/react-native-video/pull/1109 )
2018-07-16 16:45:14 -06:00
* Support onAudioBecomingNoisy on iOS [#1131 ](https://github.com/react-native-community/react-native-video/pull/1131 )
2018-07-11 10:23:39 -06:00
2018-06-25 12:12:55 -06:00
### Version 3.0
2018-06-22 17:49:10 -06:00
* Inherit Android buildtools and SDK version from the root project [#1081 ](https://github.com/react-native-community/react-native-video/pull/1081 )
* Automatically play on ExoPlayer when the paused prop is not set [#1083 ](https://github.com/react-native-community/react-native-video/pull/1083 )
* Preserve Android MediaPlayer paused prop when backgrounding [#1082 ](https://github.com/react-native-community/react-native-video/pull/1082 )
2018-06-29 14:53:20 -06:00
* Support specifying headers on ExoPlayer as part of the source [#805 ](https://github.com/react-native-community/react-native-video/pull/805 )
2018-06-25 12:46:15 -06:00
* Prevent iOS onLoad event during seeking [#1088 ](https://github.com/react-native-community/react-native-video/pull/1088 )
2018-06-25 13:28:05 -06:00
* ExoPlayer playableDuration incorrect [#1089 ](https://github.com/react-native-community/react-native-video/pull/1089 )
2018-06-22 17:49:10 -06:00
2018-06-21 10:23:00 -06:00
### Version 2.3.1
* Revert PR to inherit Android SDK versions from root project. Re-add in 3.0 [#1080 ](https://github.com/react-native-community/react-native-video/pull/1080 )
2018-06-20 23:29:49 -06:00
### Version 2.3.0
2018-06-10 12:05:43 -06:00
* Support allowsExternalPlayback on iOS [#1057 ](https://github.com/react-native-community/react-native-video/pull/1057 )
2018-06-09 17:49:21 -06:00
* Inherit Android buildtools and SDK version from the root project [#999 ](https://github.com/react-native-community/react-native-video/pull/999 )
2018-06-09 17:27:52 -06:00
* Fix bug that caused ExoPlayer to start paused if playInBackground was set [#833 ](https://github.com/react-native-community/react-native-video/pull/833 )
2018-06-20 17:46:39 -06:00
* Fix crash if clearing an observer on iOS that was already cleared [#1075 ](https://github.com/react-native-community/react-native-video/pull/1075 )
2018-06-20 18:52:21 -06:00
* Add audioOnly prop for music files [#1039 ](https://github.com/react-native-community/react-native-video/pull/1039 )
2018-06-20 23:29:31 -06:00
* Support seeking with more exact tolerance on iOS [#1076 ](https://github.com/react-native-community/react-native-video/pull/1076 )
2018-06-09 17:27:52 -06:00
2018-06-08 11:12:07 -06:00
### Version 2.2.0
2018-06-08 11:15:39 -06:00
* Text track selection support for iOS & ExoPlayer [#1049 ](https://github.com/react-native-community/react-native-video/pull/1049 )
2018-06-08 11:16:40 -06:00
* Support outputting to a TextureView on Android ExoPlayer [#1058 ](https://github.com/react-native-community/react-native-video/pull/1058 )
* Support changing the left/right balance on Android MediaPlayer [#1051 ](https://github.com/react-native-community/react-native-video/pull/1051 )
* Prevent multiple onEnd notifications on iOS [#832 ](https://github.com/react-native-community/react-native-video/pull/832 )
* Fix doing a partial swipe on iOS causing a black screen [#1048 ](https://github.com/react-native-community/react-native-video/pull/1048 )
* Fix crash when switching to a new source on iOS [#974 ](https://github.com/react-native-community/react-native-video/pull/974 )
* Add cookie support for ExoPlayer [#922 ](https://github.com/react-native-community/react-native-video/pull/922 )
* Remove ExoPlayer onMetadata that wasn't being used [#1040 ](https://github.com/react-native-community/react-native-video/pull/1040 )
* Fix bug where setting the progress interval on iOS didn't work [#800 ](https://github.com/react-native-community/react-native-video/pull/800 )
* Support setting the poster resize mode [#595 ](https://github.com/react-native-community/react-native-video/pull/595 )