Commit Graph

322 Commits

Author SHA1 Message Date
Abdulrahman Alzenki
617b046789 Implement picture in picture for iOS
Test Plan:
 - Run on ipad
 - test out onIsPictureInPictureSupported, onIsPictureInPictureActive, restoreUserInterfaceForPictureInPictureStop, startPictureInPicture, stopPictureInPicture
2019-01-07 10:26:20 -08:00
Ibrahim Sulaiman
8cffd5bc25 Updated README. 2019-01-04 15:31:49 +05:30
Hampton Maxwell
fb5f87bc9b Disable onBandwidthUpdate for iOS since it's not working yet 2018-12-31 22:06:50 -08:00
Hampton Maxwell
937eec0eae
Document onBandwidthUpdate & video track selection 2018-12-31 21:50:12 -08:00
Hampton Maxwell
282b03d421
Add note about Android not including controls 2018-12-31 00:17:33 -08:00
Hampton Maxwell
b7a351c043
Merge pull request #1384 from nickgzzjr/master
Added filterEnabled flag and don't enable filter if source is an hls playlist
2018-12-30 19:19:33 -08:00
Uğur AKTAŞ
c9b111e19b
Edit fancy braces 2018-12-26 17:58:56 +03:00
Nicolas Gonzalez
c2d9fb4301 merge 2018-12-13 21:38:32 -06:00
Nicolas Gonzalez
67a963328a updated basic example, added filterEnabled flag, check for HLS playlist before applying filter 2018-12-13 21:30:38 -06:00
Hampton Maxwell
839d759e1f
Add note about 0 being the default maxBitRate 2018-12-13 09:48:28 -08:00
Hampton Maxwell
a43f9c7ce1
Merge branch 'master' into maximumBitRate-adaptive-streaming 2018-12-12 22:30:52 -08:00
Hampton Maxwell
39b475774c
Merge pull request #1355 from vadimgoroshevsky/master
ExoPlayer - Add possibility to hide shutterView (black screen while loading)
2018-12-05 20:06:33 -08:00
Hampton Maxwell
308aa4aea9
Tweak comment for hideShutterView 2018-12-05 20:05:48 -08:00
Hampton Maxwell
8119cede8e
Merge pull request #1304 from nfb-onf/disable_airplay_for_sideloaded_captions
disable airplay when sideloaded captions
2018-12-05 17:37:22 -08:00
Hampton Maxwell
06b5d50f5b
Slightly clean up AirPlay / textTracks message 2018-12-05 17:36:35 -08:00
vadim
2caf713857 Update changelog and documentation 2018-11-30 18:42:22 +02:00
vadim
788df74d8e Add hideShutterView to configurable props 2018-11-28 15:00:27 +02:00
vadim
96c42844fe ExoPlayer - Add possibility to hide shutterView 2018-11-28 14:56:58 +02:00
Hampton Maxwell
fcee7b662b Document onSeek 2018-11-27 19:48:57 -08:00
Hampton Maxwell
12a482a8e3 Make bitrate explanation more explicit 2018-11-26 10:33:09 -08:00
Hampton Maxwell
0e7f31f902 Update name to maxBitRate, remove reference to HLS 2018-11-26 10:33:09 -08:00
Ash Mishra
11db343987 Support for HLS maximum bit rate adaptive streaming 2018-11-26 10:33:09 -08:00
Ash Mishra
29826fc98f readme update for disabled video on airplay 2018-11-26 10:16:19 -08:00
Nicolas Gonzalez
5f083e4fb3 Updated README 2018-11-18 14:17:32 -06:00
Nicolas Gonzalez
0152db8f5a Fixed Conflict in CHANGELOG.md 2018-11-18 14:12:01 -06:00
Nicolas Gonzalez
8a3b6490dc Updated save function README, updated video-caching example to test saving function 2018-11-06 20:33:33 -06:00
Nicolas Gonzalez
dd1c6867ad updated save function readme 2018-11-06 09:01:10 -06:00
Nicolas Gonzalez
89ac8d93c3 Updated Filter Doc 2018-11-06 08:49:23 -06:00
Hampton Maxwell
40fb19f7c7
Alphabetize filter & save 2018-11-04 17:40:07 -08:00
Nicolas Gonzalez
094541b8a6 updated readme and version bump 2018-10-26 08:40:46 -05:00
Ash Mishra
67406b5e7b restored autorotate to fullscreen options 2018-10-25 14:56:59 -07:00
Hampton Maxwell
6bf213488d Rename DOM to react-native-dom 2018-10-17 17:52:48 -07:00
Hampton Maxwell
2d76e491d3
Switch useTextureView to default to true (#1286)
A number of people run into SurfaceView layering issues. It seems better to default to the more compatible option and let people reconfigure if they need the extra SurfaceView performance.
2018-10-13 20:23:30 -07:00
Hampton Maxwell
d87568db0e
Feature/exoplayer 2.9 (#1285)
Update to ExoPlayer 2.9.0 & document version 4.0.0 breaking changes
2018-10-13 20:16:10 -07:00
Hampton Maxwell
639f2bbd4c
Merge pull request #1215 from nfb-onf/master
Enhanced Fullscreen options for iOS
2018-10-13 19:15:00 -07:00
Hampton Maxwell
97604f8715
Merge pull request #1284 from react-native-community/feature/shaka-player
react-native-dom: DASH & HLS support, autoplay detection
2018-10-12 14:03:42 -07:00
Hampton Maxwell
864da19d41 Document id prop 2018-10-12 11:09:14 -07:00
Ash Mishra
bbf37ed5cb Removed autoRotate from codebase; added TV_OS target check for
orientation; added tvOS target to examples/basic/ios project
2018-10-11 16:42:11 -07:00
Dimitry
bd8b729257
Fix "progressInterval" to "progressUpdateInterval" in README 2018-10-09 12:49:57 +03:00
Hampton Maxwell
0646dca071 Split fullscreen options into separate props 2018-10-07 20:24:50 -07:00
Hampton Maxwell
5336d4f866
Merge branch 'master' into master 2018-10-07 16:07:11 -07:00
Hampton Maxwell
cacacd8b35
Merge branch 'master' into master 2018-10-07 15:58:32 -07:00
Hampton Maxwell
407ad14a16
Reorder onExternalPlaybackChange alphabetically 2018-10-07 15:56:15 -07:00
Hampton Maxwell
8bda6546e8 Document headers prop 2018-09-28 10:30:24 -07:00
Hampton Maxwell
53ed7e168e Fix some typos and add docs for controls & onEnd 2018-09-27 16:07:16 -07:00
Hampton Maxwell
75e3a77d59
[WIP] Support react-native-dom (#1253)
Add support for react-native-dom
2018-09-27 16:03:45 -07:00
Artur Jaworski
5e2b49c343 readme update 2018-09-18 09:45:12 +02:00
Ash Mishra
443bf88c63 Adds fullscreenOptions to iOS 2018-09-04 16:05:45 -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
994da821e0 Reorganize README to put more links in the table of contents 2018-08-27 16:22:13 -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
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
Laurin Quast
8fcdc6e02a Merge remote-tracking branch 'upstream/master' into implement-ios-caching 2018-08-06 10:39:39 +02: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
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
9ff16ed550
Tidy up bufferConfig docs 2018-08-03 14:55:46 -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
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
Laurin Quast
9f2cb8f92d Merge remote-tracking branch 'upstream/master' into implement-ios-caching 2018-08-01 00:11:35 +02: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
Laurin Quast
2260ae5b8c Merge remote-tracking branch 'upstream/master' into implement-ios-caching 2018-07-30 21:20:34 +02: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
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
Laurin Quast
201f61b4a7
Merge branch 'master' into implement-ios-caching 2018-07-19 09:47:36 +02:00
Laurin Quast
4cc984d5da add instructions for CocoaPods setup 2018-07-19 09:46:27 +02:00
Laurin Quast
f0f1883b97 remove obsolete contributer instructions 2018-07-19 02:22:52 +02: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
Laurin Quast
6cfea3aacb Merge branch 'master' into implement-ios-caching 2018-07-17 13:28:37 +02:00
Hampton Maxwell
d003c87b57 Add onAudioBecomingNoisy for iOS 2018-07-12 21:48:58 -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
e5ab177a42
Descriptions for paused were reversed 2018-07-09 22:01:48 -07:00
Hampton Maxwell
3febc453b6 Merge branch 'master' of https://github.com/react-native-community/react-native-video 2018-06-29 13:56:53 -07:00
Hampton Maxwell
640af7e9a3 Add note about installing Android Support Repository 2018-06-29 13:56:30 -07:00
Carlos Navarrete
854b403c8b
Update README.md
fix small grammar mistake
2018-06-28 12:13:45 -03:00
Hampton Maxwell
6b8b16a9df Document the onProgress event 2018-06-25 12:24:44 -07:00
Hampton Maxwell
4d2c39ea6e Document onTimedMetadata 2018-06-25 12:00:34 -07:00
Hampton Maxwell
662f6de5a0
Merge branch 'master' into master 2018-06-24 12:17:37 -07:00
Hampton Maxwell
39efb5203c
Clean up wording about Android expansion files 2018-06-24 12:15:43 -07:00
Hampton Maxwell
e4f83439f4
Add example specifying the type for Android file expansion 2018-06-22 21:10:16 -07:00
Hampton Maxwell
39fb210291 Clear up background comment 2018-06-22 13:11:44 -07:00
Hampton Maxwell
31b9ba9928 Update auto-play notes to indicate that the issue only affected ExoPlayer 2018-06-21 22:39:57 -07:00
Hampton Maxwell
65f6b3b47a Document version 3.0 behavior changes 2018-06-21 18:42:06 -07:00
Hampton Maxwell
3f243b1583 Document the seek() method 2018-06-20 22:09:05 -07:00
Hampton Maxwell
06fafc88bf
Merge branch 'master' into master 2018-06-20 17:03:52 -07:00
Hampton Maxwell
3da2489484 Fix type in ISO name 2018-06-12 21:21:04 -07:00
Hampton Maxwell
146cbe3183 Clean up onLoad info 2018-06-12 21:17:47 -07:00
Hampton Maxwell
659ca8fad9 Document onLoad, onLoadStart & textTracks 2018-06-12 21:03:55 -07:00
Hampton Maxwell
bd30454aea
Merge pull request #1057 from genglei01/master
Add allowsExternalPlayback Property for ios
2018-06-10 10:56:14 -07:00
Hampton Maxwell
36dffa694c
Reorder allowsExternalPlayback alphabetically 2018-06-10 10:48:32 -07:00
LeoGeng
187158be34 add an entry in the README for allowsExternalPlayback property 2018-06-11 00:31:22 +08:00
Hampton Maxwell
65c3696d2a Add note about Enable Background Audio being in Xcode 2018-06-08 21:13:34 -07:00
Hampton Maxwell
3b1f19d380
Get list of iOS instructions for playInBackground to display properly 2018-06-08 21:10:19 -07:00
Hampton Maxwell
d4a659a641 Update background instructions for iOS 2018-06-08 21:08:51 -07:00
Hampton Maxwell
72eba10167 Document props for playInBackground & playWhenInactive 2018-06-08 20:45:37 -07:00
Hampton Maxwell
9c51d00f34 Document props for playInBackground & playWhenInactive 2018-06-08 20:43:43 -07:00
Hampton Maxwell
3f6af0c000 Make notes about SurfaceViews better 2018-06-08 00:16:50 -07:00
Hampton Maxwell
e3d74ee339 Fix type in this.fullScreenPlayerDidDismiss name 2018-06-08 00:15:12 -07:00
Hampton Maxwell
066a0c9c16 Add support for using a TextureView in ExoPlayer 2018-06-08 00:01:13 -07:00
Hampton Maxwell
cb9e860cde
Make stereoPan description a bit more understandable 2018-06-07 22:53:19 -07:00
Hampton Maxwell
04cb01fdcb
Show stereoPan platform as Android MediaPlayer 2018-06-07 22:51:50 -07:00
Rafael Pinto
982019fd1c Fixed readme conflict 2018-06-06 04:42:37 +01:00
Rafael Pinto
41384e2adf
Merge branch 'master' into feature/audio-panning 2018-06-06 04:24:39 +01:00
Hampton Maxwell
c3f9976b0b
Merge branch 'master' into feature/text-tracks 2018-06-05 19:42:04 -07:00
Hampton Maxwell
b00df58755 Add Value to the usage chart 2018-06-05 18:45:05 -07:00
Hampton Maxwell
86b200396f Fix link for resizeMode 2018-06-05 18:41:51 -07:00
Hampton Maxwell
ed79b790b5 Add documenation for the selectedTextTrack prop 2018-06-05 18:39:25 -07:00
Hampton Maxwell
5203d1b238
Fix formatting for Configurable props
Make sure Platforms get treated like they're on a newline
2018-06-05 18:26:25 -07:00
Hampton Maxwell
3ba9b4a553
Fix other camel case props 2018-06-05 18:18:10 -07:00
Hampton Maxwell
d23d916212
Test camelCase links 2018-06-05 18:16:46 -07:00
Hampton Maxwell
87c1b87a39
Add docs for most configurable props
Add individual sections for each of the common configurable props
2018-06-05 18:03:14 -07:00
Hampton Maxwell
c097c7d385
Begin expanding props docs 2018-06-05 17:27:19 -07:00
Rafael Pinto
00fe87a2ab replaced channel with stereoPan attribute 2018-06-05 23:04:20 +01:00
Rafael Pinto
68dd2a72ba Updated readme 2018-06-05 02:48:01 +01:00
Hampton Maxwell
ddc1c54325
Update README.md 2018-06-02 22:17:44 -07:00
Hampton Maxwell
cfc7da2a31 Add docs for posterResizeMode flag 2018-05-29 16:27:11 -07:00
Shlok Amin
fc6244e440 adds audioOnly option that always displays poster image (if provided) on top of player 2018-05-29 16:01:06 -04:00
Hampton Maxwell
025770eb13
Clean up booleans
Show options as either true or false and include note about default values.
2018-05-28 22:50:42 -07:00
Hampton Maxwell
d63c690899
Add instructions for using ExoPlayer
Update Android instructions for using both ExoPlayer and the old Android player
2018-05-28 22:12:02 -07:00
Hampton Maxwell
ec2fab2c30
Clean up Windows & Android asset instructions 2018-05-28 18:59:09 -07:00
Hampton Maxwell
c3ea90bc59
Condense instructions for each platform 2018-05-28 18:51:53 -07:00
Hampton Maxwell
1868bd3402
Clean up work about transport security 2018-05-22 12:51:59 -07:00
Akshay Gore
8970a1ea97 add explanation for add modifying the ATS exception 2018-05-22 12:18:35 -07:00
Akshay Gore
9a9e36c71e update the wording 2018-05-22 00:49:51 -07:00
Akshay Gore
76cc5ec4f0 Add App Transport Security Exceptions Configuration 2018-05-22 00:43:10 -07:00
Hampton Maxwell
bedc4b5d20
Merge pull request #862 from kay-is/patch-2
Document fullscreen callbacks fix #861
2018-05-20 21:01:44 -07:00
Hampton Maxwell
d0d67eb715 Forgot to include comment about disabling ExoPlayer fullscreen 2018-05-17 16:15:15 -07:00
Hampton Maxwell
052e532b58 Add support for fullscreen on ExoPlayer 2018-05-17 16:13:12 -07:00
Isaiah Grey
737d348ff0
Merge pull request #610 from lechinoix/patch-1
Add link to propTypes
2018-03-10 13:35:35 -08:00
Laurin Quast
e918c02ba9 Add some contributing guide 2018-03-01 23:54:37 +01:00
Andy Stanberry
cf9a5fc635 Document poster prop 2018-01-31 17:53:37 -05:00
Kay Plößer
c0a8f7c0c9
Document fullscreen callbacks fix #861 2017-11-24 16:22:41 +01:00
Mathias Scherer
132d420b6a
updates readme with additional infos for expansion files
adds the info that the mp4 files inside expansion files have not to be compressed to get it working
2017-11-06 13:17:56 +01:00
Mathias Scherer
fe69081576
adds supported file extensions Android Expansion files
adds mp4 as the only supported file extension for Android Expansion files
2017-11-03 12:08:30 +01:00
Julien K
b303f991ce Added tvOS paltform support (#682)
* [tvOS] Update podspec

* [tvOS] Add tvOS target

* Update README.md

* [docs] Folder that contains pictures and content for documentation

* tvOS Readme

* [JPEG] Update image to JPEG
2017-07-20 13:35:58 -04:00
Nicolas Ngomai
b6afaa3378 Add link to propTypes
Some props are missing in the documentation, the propTypes provides a full list of those. I think it would help a lot of developers to add a link here.
2017-05-11 13:46:04 +02:00
Dom DiCicco
98c51f114b issue 310 - Added a new property, ignoreSilentSwitch. (#403)
* issue 310 - Added a new property, ignoreSilentSwitch. When true, audio will play even when the silent switch on an iOS device is set to silent. When false, the audio will toggle with the silent switch. Sets the AVAudioSession to either playback or ambient.

* Added ignoreSilentSwitch usage to example app and to readme

* Changed ignoreSilentSwitch to accept two string values, ignore and obey.
This accounts for the case where the user does not want to modify the audio session from a particular video instance. The user would not use the ignoreSilentSwitch property at all in that case.
Also, the audio session will only be updated when the video is unpaused, instead of whenever the video component has updated props. This allows for multiple videos to be on the screen, with the most recent video unpaused (aka played) being the video that has control over the audio session.
2017-04-20 14:10:06 -04:00
Kevin VanGelder
ebc6617ba4 Initial WPF Support (#385)
* initial support for WPF

* update readme with WPF specific instructions

* remove autogenerated .gitattributes file

* reference RNW NPM package instead of hard-coded local reference
2017-03-31 12:15:26 -04:00
Andrew Jack
5a4730cb8c Update readme (#497) 2017-03-21 16:25:04 -04:00
Daniel Schmidt
01c1124adc Add remark on muted for cover size (#459)
This is related to the comment on #368
2017-02-13 21:39:42 -05:00
Andrea Cresta
d792427ce1 Added onTimedMetadata callback for iOS player and Exoplayer (#487)
* added listener for timedMetadata event.

* added callback in RCTVideo for the timed metadata

* exposing onTimedMetadata to JS

* added forgotten method declaration

* returning array of string values

* added metadata type to the array

* added onMetadata method

* overridden onMetadata method on exoplayer2

* added format of return value from onMetadata

* added function reference in README file
2017-02-13 21:38:02 -05:00