Commit Graph

1099 Commits

Author SHA1 Message Date
David Narbutovich
bbacb95345
Update TextTrackType.js
Remove not needed import
2018-09-12 11:27:36 +03:00
Matthew Herz
33d9acdf5d
Fix missing TargetApi import
The build was producing a "cannot find symbol class TargetApi" error without that line.
2018-09-06 12:56:36 -07:00
sridhar
654a76d6ef named parameter added for exception. Otherwise this cannot be used in JS
named parameter added for exception. Otherwise this cannot be used in JS
2018-09-06 14:25:44 +05:30
Tom Spencer
00174b63b8 Support RN 0.57 w/ gradle 3 2018-09-06 09:44:27 +01:00
Ash Mishra
443bf88c63 Adds fullscreenOptions to iOS 2018-09-04 16:05:45 -07:00
Ash Mishra
0580f2710f Merge branch 'master' of https://github.com/nfb-onf/react-native-video
# Conflicts:
#	ios/RCTVideoPlayerViewController.m
#	ios/Video/RCTVideo.m
2018-09-04 15:26:56 -07:00
Ash Mishra
77c48c9dfc added an onCaptionsDeviceSettings event 2018-09-04 15:19:32 -07:00
Ash Mishra
37c31a3c92 Improvements to urlFilePath so that it only does a /Documents/ folder check if the file does not exist; improvements to full-screen options for iOS to default autorotate, and to respect landscape / portrait masks 2018-09-04 15:17:54 -07:00
Ash Mishra
3b0d459230 Fix for files that are stored in the Documents folder on iOS (and not as resources in the JS app) 2018-09-04 15:17:19 -07:00
Ash Mishra
f45d6a2c3e Added fullscreen options for iOS Player 2018-09-04 15:15:30 -07:00
Ash Mishra
3ba26eb45a Working on autorotation of video player 2018-09-04 15:08:56 -07:00
Hampton Maxwell
3c0323fbb0 Fix typo that caused the descriptions for onProgressUpdate not to appear 2018-09-03 19:02:52 -07:00
Hampton Maxwell
536bdc474d Begin documenting the source prop 2018-09-03 19:01:12 -07:00
Hampton Maxwell
470595498a Merge branch 'master' of https://github.com/react-native-community/react-native-video 2018-09-03 18:31:18 -07:00
Hampton Maxwell
be5a588b76 ipod-library uri support 2018-09-03 18:31:04 -07:00
Hampton Maxwell
a0c196f4c9
Merge pull request #926 from ymuzi/master
add ipod-library support
2018-09-03 18:30:30 -07:00
Hampton Maxwell
3d40935cc1
Revert crash fix when removing player layer observer
Couldn't figure out how this was happening, so I don't want to hide it with try/catch. Let's get it fixed instead.
2018-09-03 18:30:19 -07:00
Hampton Maxwell
09d0db21bb Add caching cleanup notes 2018-08-27 19:09:05 -07:00
Hampton Maxwell
69415e2a69
Merge pull request #1204 from react-native-community/develop
Merge caching changes into master
2018-08-28 04:20:49 +03:00
Hampton Maxwell
03734bbe52
Merge pull request #1172 from react-native-community/bugfix/ios-cache-texttracks
[WIP] Prevent errors on iOS when using text tracks with caching
2018-08-28 04:19:37 +03:00
Hampton Maxwell
b6512e4316 Remove old test var 2018-08-27 18:19:15 -07:00
Hampton Maxwell
152978d111 Provide info about caching not working with text tracks 2018-08-27 18:17: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
444581d205
Merge pull request #1203 from react-native-community/chore/ios-doc-cleanup
Reorganize README
2018-08-28 02:25:05 +03:00
Hampton Maxwell
994da821e0 Reorganize README to put more links in the table of contents 2018-08-27 16:22:13 -07:00
Ash Mishra
7b8f79b36a added an onCaptionsDeviceSettings event 2018-08-27 10:42:49 -07:00
sridhar
6480a6462b Reporting estimatedBandwidth
Reporting estimatedBandwidth
2018-08-25 21:53:11 +05:30
sridhar
ff31bd1772 reverted deprecated API
reverted deprecated API
2018-08-25 11:24:08 +05:30
sridhar
4ea926e137 Bandwidth reporting
To show the current bandwidth to user and for debugging purposes current bandwidth is required to be reported. This pull request adds the bandwidth estimate in the progress event.

Also the bandwidth details are added in the audio track in load event. There is another pull request which reports the video track information
2018-08-25 11:21:01 +05:30
sridhar
16688cef0f Youtube like video track selection
1. Loaded event will give the information about available video tracks
2. selectedVideoTrack prop will give the interface to select the video track. This prop will take the height of the video (Similar to youtube like 144p, 350p etc) and set the video track. If height is 0 then all video tracks will be added to list so that it will work like 'Auto' in youtube
2018-08-24 15:33:46 +05:30
Ash Mishra
7d805f1363 Improvements to urlFilePath so that it only does a /Documents/ folder check if the file does not exist; improvements to full-screen options for iOS to default autorotate, and to respect landscape / portrait masks 2018-08-20 11:52:06 -07:00
Ash Mishra
f7fd5dc5b7 Fix for files that are stored in the Documents folder on iOS (and not as resources in the JS app) 2018-08-16 15:32:36 -07:00
Ash Mishra
887010f291 merge RCTVideo.m 2018-08-14 10:29:01 -07:00
Ash Mishra
5b3f08781e Merge branch 'upstream-master' 2018-08-09 09:58:57 -07:00
Ash Mishra
f41831ceac Added fullscreen options for iOS Player 2018-08-09 09:58:03 -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
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