Commit Graph

810 Commits

Author SHA1 Message Date
Hampton Maxwell
8084b160d5 Code style cleanups 2018-08-08 15:34:07 -07:00
Hampton Maxwell
9d22835343 Rework logic for extension detection 2018-08-08 13:56:11 -07:00
Hampton Maxwell
53c5afeee9 Merge branch 'develop' of https://github.com/react-native-community/react-native-video into develop 2018-08-08 13:43:47 -07:00
Hampton Maxwell
7dc9e85793 Remove old version compatibility notes 2018-08-08 13:29:58 -07:00
Hampton Maxwell
7bc58b9a83 ExoPlayer update to 2.8.2 2018-08-08 13:29:42 -07:00
Hampton Maxwell
8dbc2554dc
Merge pull request #1170 from react-native-community/chore/exoplayer-2.8.2-upgrade
[WIP] Update ExoPlayer to version 2.8.2
2018-08-07 23:12:09 -07:00
Hampton Maxwell
40cafdcb2e Upgrade to ExoPlayer 2.8.2 2018-08-07 23:10:03 -07:00
Hampton Maxwell
9dc218c7a1 Android MediaPlayer onTimedMetadata support 2018-08-07 11:43:09 -07:00
Hampton Maxwell
4fc0aab31c
Merge pull request #707 from RWOverdijk/feat/ontimedmetadata-android
Feat/ontimedmetadata android
2018-08-07 11:37:11 -07:00
Hampton Maxwell
ca3e49a195
Merge pull request #955 from n1ru4l/implement-ios-caching
ios Caching Support
2018-08-06 15:28:55 -07:00
Hampton Maxwell
f0ee821225 Change ExoPlayer version to 2.8.2 2018-08-06 14:23:33 -07:00
Laurin Quast
8d5f81a494 add missing enum 2018-08-06 10:40:11 +02:00
Laurin Quast
8fcdc6e02a Merge remote-tracking branch 'upstream/master' into implement-ios-caching 2018-08-06 10:39:39 +02:00
Laurin Quast
38ba3735ed add information about caching restrictions 2018-08-06 10:21:27 +02:00
Hampton Maxwell
ba159c3fa7 Version 3.2.0 2018-08-05 18:31:33 -07:00
Hampton Maxwell
4419b2897d Update NewtonSoft JSON to match react-native-windows versio 2018-08-05 18:17:11 -07:00
Hampton Maxwell
84dc9f57d8
Merge pull request #1169 from react-native-community/chore/upgrade-newtonsoft
Update NewtonSoft JSON to match react-native-windows version
2018-08-05 18:16:43 -07:00
Hampton Maxwell
1cc38d1a9c Prevent sleep timeout on Android MediaPlayer 2018-08-05 17:36:17 -07:00
Hampton Maxwell
7854a23d13
Merge pull request #1117 from lingokids/master
Android - Keep screen on
2018-08-05 17:35:15 -07:00
Hampton Maxwell
3a1d81930e
Allow screen to sleep when video finishes 2018-08-05 17:34:16 -07:00
Hampton Maxwell
bd48a001c0
Switch to using setKeepScreenOn to prevent screen timeouts 2018-08-05 17:27:49 -07:00
Laurin Quast
c9e2ba0547 Fix URLs with query strings at the end, e.g. ?size=large
Fix HLS Playlists (only support mp4, m4v and mov file extension)

Add debug logging for guiding library consumers about why their video is not cached
2018-08-05 23:06:25 +02:00
Charlie Martin
55e0e4dcfa
Remove flash between poster and video
This resolves https://github.com/react-native-community/react-native-video/issues/1128
2018-08-04 17:28:33 -04:00
Hampton Maxwell
91194edbc9 Clean up bufferConfig notes about when it needs to be applied 2018-08-03 16:09:57 -07:00
Hampton Maxwell
1d57576c27 Android ExoPlayer buffer configuration 2018-08-03 16:07:57 -07:00
Hampton Maxwell
7c14f416a5 Merge branch 'master' of https://github.com/react-native-community/react-native-video 2018-08-03 16:05:48 -07:00
Hampton Maxwell
2b99f0e12a
Merge pull request #1160 from bvanwijk/configure-default-load-control
Expose DefaultLoadControl parameters Android ExoPlayer
2018-08-03 15:59:23 -07:00
Hampton Maxwell
a60a1277b7
Remove extra space 2018-08-03 15:54:55 -07:00
Hampton Maxwell
725497e149
Don't set isPaused when releasing the player
I'm guessing this was a bug as it doesn't make sense that we would set paused to true if the video is playing, and not paused if it wasn't. I believe this is a safe change since we only release the player when the app is closing or we detach (which is going away shortly). We need this since we release the player in order to apply new bufferConfig settings.
2018-08-03 15:54:18 -07:00
Hampton Maxwell
9ff16ed550
Tidy up bufferConfig docs 2018-08-03 14:55:46 -07:00
Hampton Maxwell
9def59078b Fix #1150 where assets with bundled assets don't work on iOS in release mode 2018-08-02 12:15:04 -07:00
Hampton Maxwell
fd6333f8ac Various iOS sideloaded text track fixes 2018-08-02 12:13:16 -07:00
Bryan van Wijk
814a744d8e
Update README.md 2018-08-02 09:23:00 +02:00
Bryan van Wijk
cd75e72180 Rename to bufferConfig and use stopPlayback 2018-08-02 09:20:08 +02:00
Hampton Maxwell
bf5974242c
Merge pull request #1162 from nfb-onf/master
Fix for #1150 and improvements for #1143
2018-08-01 13:45:02 -07:00
Ash Mishra
aa439470b3 Fix issue with embedded Bundle videos in Release configuration 2018-08-01 12:15:27 -07:00
Bryan van Wijk
f46a00c4d4
Update README.md 2018-08-01 16:07:25 +02:00
Bryan van Wijk
dde27a320e Pass loadControl parameters as video props 2018-08-01 15:58:02 +02:00
Ash Mishra
fa30fb3e43 remove tracks that are not valid from textTracks; and default to system if selectedTextTrack unavailable 2018-07-31 16:56:19 -07:00
Laurin Quast
9f2cb8f92d Merge remote-tracking branch 'upstream/master' into implement-ios-caching 2018-08-01 00:11:35 +02:00
Laurin Quast
6b55d8a890 update basic sample to newest react-native version 2018-08-01 00:09:01 +02:00
Laurin Quast
685133ea48 remove cache property 2018-07-31 23:47:55 +02:00
Hampton Maxwell
352bad21c4
Merge pull request #1157 from react-native-community/bugfix/disable-sideload-track
Fix sideload text track issues on iOS
2018-07-31 14:03:20 -07:00
Hampton Maxwell
b710b69025
Fix typo in tvOS instructions 2018-07-31 11:26:09 -07:00
Hampton Maxwell
efb1fc7723
Update react-native link instructions with module name
Just calling react-native link is risky, it can cause double linking
2018-07-31 11:25:17 -07:00
Bryan van Wijk
092ba33e95 Expose DefaultLoadControl parameters Android 2018-07-31 17:23:20 +02:00
Laurin Quast
b83f3a57db fix xcode project paths 2018-07-31 07:07:13 +02:00
Laurin Quast
2260ae5b8c Merge remote-tracking branch 'upstream/master' into implement-ios-caching 2018-07-30 21:20:34 +02:00
Hampton Maxwell
c84e059543 Only look for text tracks matching system language when the "system" type is set 2018-07-29 17:42:09 -07:00
Hampton Maxwell
2087d0a150
Fix typo in audioTracks example 2018-07-25 13:18:02 -07:00