Commit Graph

99 Commits

Author SHA1 Message Date
Hampton Maxwell
075dfbaf7f
Only check for an empty source 2019-02-18 21:34:34 -08:00
Niklas Saers
865db71179 Doh, should of course be AND, not OR 2018-09-20 13:38:39 +02:00
Niklas Saers
c37507768c Instead of crashing, show a warning and return 2018-09-19 12:02:55 +02:00
Hampton Maxwell
b6512e4316 Remove old test var 2018-08-27 18:19:15 -07:00
Hampton Maxwell
67a388911d Add debug message when disabling caching due to text tracks 2018-08-27 18:16:59 -07:00
Hampton Maxwell
b6ee8f7fed Simplify text track + cache bypass code 2018-08-27 18:05:41 -07:00
Hampton Maxwell
a26dc264b2
Bypass cache when sideloaded text tracks are specified
Fixes a crash when using the cache & sideloaded text tracks together due to the tracks on the asset not being available. Re-visit when someone with more expertise on the cache can look at it.
2018-08-27 17:55:33 -07:00
Hampton Maxwell
86d655c3d1 Refactor to move caching code into a single block 2018-08-08 15:37:18 -07:00
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
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
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
Ash Mishra
aa439470b3 Fix issue with embedded Bundle videos in Release configuration 2018-08-01 12:15:27 -07: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
685133ea48 remove cache property 2018-07-31 23:47:55 +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
Laurin Quast
82edb959d8 remove cache property 2018-07-19 09:08:55 +02:00
Laurin Quast
4f386d2c93 make video cache feature optional 2018-07-19 02:06:09 +02: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
Laurin Quast
4c7676396a remove duplicated code block 2018-07-17 15:29:53 +02:00
Laurin Quast
5d7b296680 update example project and fix build errors 2018-07-17 14:36:03 +02:00
Laurin Quast
6cfea3aacb Merge branch 'master' into implement-ios-caching 2018-07-17 13:28:37 +02:00
Hampton Maxwell
de68244bc6 Add onVideoAudioBecomingNoisy 2018-07-16 09:47:27 -07:00
Hampton Maxwell
d003c87b57 Add onAudioBecomingNoisy for iOS 2018-07-12 21:48:58 -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
Hampton Maxwell
93ce4d6b9f Support loading multiple sideloaded text tracks 2018-07-09 16:28:38 -07:00
Ash Mishra
c9b752454a PR fixes for iOS sideloaded captions 2018-07-09 11:20:32 -07:00
Ash Mishra
fa63a9ef87 Fix for textTracks not being set before selectedTextTrack (bug found on iOS 9.3) 2018-07-06 16:38:24 -07:00
Ash Mishra
05d4be2d9c Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	ios/RCTVideo.m
#	package.json
2018-07-06 16:01:02 -07:00
Hampton Maxwell
7bd7024a5e
Merge pull request #758 from LandonS23/ios-controls
Show iOS controls without using present full screen
2018-07-06 13:26:08 -07:00
Ash Mishra
3e2e16ef44 iOS Sidecar loading for captions and offline support (isAsset). Android
fix to respect User settings for captions.
2018-07-05 13:36:36 -07:00
Hampton Maxwell
3f5ab0b7ae Disable HTTP headers since it uses a private API 2018-06-26 15:39:04 -07:00
Hampton Maxwell
4174d5a713 Prevent onLoad event during seeking 2018-06-25 11:43:51 -07:00
Hampton Maxwell
c67dd7b8ef
Merge branch 'master' into master 2018-06-22 18:57:58 -07:00
Hampton Maxwell
9401328d46 Support specifying an alternate seek tolerance on iOS 2018-06-20 22:09:45 -07:00
Hampton Maxwell
026afabe8b Only allow the player layer observer to be cleared if it's set (#907) 2018-06-20 16:33:50 -07:00
Hampton Maxwell
9ad11dd569 Avoid crash when text track doesn't have a title or language 2018-06-20 15:26:24 -07:00
Hampton Maxwell
a1a4e0c44b Report textTracks in onLoad 2018-06-11 20:55:23 -07:00
Emrah Kaya
6cd7dfeedf fix syntax errors 2018-06-11 11:10:01 +02:00
genglei01
6f5211f2c4
remove indentation
remove indentation
2018-06-11 00:04:13 +08:00
Emrah Kaya
f340025a09 respecting cookies when opting in for headers (ios) 2018-06-09 21:53:57 +02:00
Emrah
2d89a3fd54
Merge branch 'master' into master 2018-06-09 21:36:09 +02:00
genglei01
7460df9edb
Merge branch 'master' into master 2018-06-08 11:18:26 +08:00
LeoGeng
e79e447375 Add allowsExternalPlayback property to control external playback 2018-06-06 09:40:12 +08:00
Hampton Maxwell
03017c0f63 Merge branch 'master' into feature/text-tracks 2018-06-04 11:47:16 -07:00