Commit Graph

689 Commits

Author SHA1 Message Date
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
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
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
Hampton Maxwell
570339bb3a Include instructions for importing the module 2018-07-24 14:29:18 -07:00
Hampton Maxwell
080d1344f1 Simplify SDK vars code for Android 2018-07-24 14:24:46 -07:00
Hampton Maxwell
0b42957243
Merge pull request #1146 from react-native-community/chore/android-def-cleanup
Apply SDK vars simplification to ExoPlayer
2018-07-24 13:20:40 -07:00
Hampton Maxwell
1c9f2caa19 Apply SDK vars simplification 2018-07-24 13:19:45 -07:00
Hampton Maxwell
5e7b88cad4
Merge pull request #1145 from yeomann/patch-1
little improvement over too many "def"
2018-07-24 12:53:28 -07:00
Hampton Maxwell
78257e9508
Merge pull request #1137 from react-native-community/feature/select-audio-track
Select audio tracks on iOS & ExoPlayer
2018-07-24 09:58:30 -07:00
Danish
6c946d77f3
little improvement over too many "def"
just added a function which acts like a ternary with fallback option. Hence, less cluttered "def" variables
great to see that lib is supporting already SDK 27
2018-07-24 17:36:24 +03:00
Hampton Maxwell
46d0bc88b7 Add Android MediaPlayer fullscreen support 2018-07-17 17:50:09 -07:00
Hampton Maxwell
24046e44a5
Merge pull request #1138 from react-native-community/feature/media-player-fullscreen
Implement fullscreen for Android MediaPlayer
2018-07-17 17:49:20 -07:00
Hampton Maxwell
18efffbd1a Implement hacky fullscreen
This only handles the controls portion of fullscreen. It doesn't make the video use the entire screen, that still needs to be done via styles. Will be implemented later
2018-07-17 17:47:19 -07:00
Hampton Maxwell
aa4e1812e9 Document fullscreen methods & events 2018-07-17 17:45:19 -07:00
Hampton Maxwell
06eb1c57d8 Support selecting audio tracks
Implements audio track selection on iOS & Android ExoPlayer. The prop mirrors the API for selectedTextTrack.
2018-07-17 14:14:21 -07:00
Hampton Maxwell
933d3dd817 Version 3.1.0 2018-07-16 15:45:40 -07:00
Hampton Maxwell
432d1b4f62 Add iOS onAudioBecomingNoisy 2018-07-16 15:45:14 -07:00
Hampton Maxwell
211d14bed5
Merge pull request #1131 from react-native-community/feature/ios-becoming-noisy
Document onAudioBecomingNoisy & add iOS support
2018-07-16 15:43:48 -07:00
Hampton Maxwell
de68244bc6 Add onVideoAudioBecomingNoisy 2018-07-16 09:47:27 -07:00
Hampton Maxwell
2d5ef8cfd2 Update name of onAudioBecomingNoisy 2018-07-12 21:49:14 -07:00
Hampton Maxwell
d003c87b57 Add onAudioBecomingNoisy for iOS 2018-07-12 21:48:58 -07:00
Hampton Maxwell
5178601edb
Merge pull request #1119 from react-native-community/chore/document-ios-caption
Document iOS sidecar text tracks
2018-07-11 09:31:59 -07:00
Hampton Maxwell
3d4c36ea4e Add entry for iOS textTracks 2018-07-11 09:23:39 -07:00
Hampton Maxwell
4cdeebea65 Cleanup up iOS textTracks explanation 2018-07-11 09:22:24 -07:00
Hampton Maxwell
f6e1079e57 Document textTracks support for iOS 2018-07-11 09:09:56 -07:00
Hampton Maxwell
91ba07c9e9
Merge pull request #1109 from nfb-onf/master
iOS Side loading for captions and offline support
2018-07-10 20:03:35 -07:00
Hampton Maxwell
e5ab177a42
Descriptions for paused were reversed 2018-07-09 22:01:48 -07:00
Hampton Maxwell
fe26f54bfb
Fix default sideload text track for system caption setting 2018-07-09 21:08:40 -07:00
Ash Mishra
0d32a31b85 Merged, but text sideloading is not working 2018-07-09 17:00:47 -07:00
Ash Mishra
ea7bc157e7 Merge branch 'nfb-onf-master' 2018-07-09 16:38:24 -07:00
Hampton Maxwell
93ce4d6b9f Support loading multiple sideloaded text tracks 2018-07-09 16:28:38 -07:00
Ash Mishra
6339b9ac08 isPaused reverted
clearSelectionOverride is still required for "default" and "disabled" case as it otherwise continues to show a selected track if it was previously selected
2018-07-09 16:18:42 -07:00