Commit Graph

291 Commits

Author SHA1 Message Date
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
Matt Apperson
07ac819a46 added compatability note 2017-01-31 08:20:07 -05:00
Ardalan Naghshineh
8b17671d74 README fix (#416)
Corrected the instructions for running the example
2017-01-31 07:50:58 -05:00
Andrew Jack
9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00
Austin Witherow
0d48d1a56d docs(linking): add documentation on how to link library (#376) 2016-11-15 17:53:47 -05:00
Eric Rozell
be9f840537 Update README.md 2016-11-10 12:27:26 -08:00
Eric Rozell
e32372f8a0 Update README.md 2016-11-09 16:05:45 -08:00
Eric Rozell
8cc1dbda4f feat(Windows): Adds Windows support to react-native-video
This PR adds react-native-windows support to react-native-video.  The Video component is implemented with a XAML MediaPlayerElement.  Most of the features implemented by Android (and some additional ones) are implemented by Windows.

Known issues and missing features include:
* onReadyForDisplay event
* local URI convention (e.g., "broadchurch" in examples changed to require("./broadchurch.mp4")
* `playableDuration` in `onVideoProgress` event is always 0.0
* `playInBackground` is not yet supported
* Volume settings are applied, but the UWP control does not handle it properly
2016-11-09 14:49:04 -08:00
Oscar Franco
605f4cf070 Improve fullscreen documenation (#364) 2016-11-03 16:43:09 -04:00
TomClarkson
9ff2ff8e95 Fix example link (#343) 2016-10-06 17:34:20 -04:00
ndao
6b62119ce0 add ability to change progress update interval (#289)
* added progressUpdateInterval prop iOS

* add prop to Video.js

* added progressUpdateInterval prop iOS

* add prop to Video.js
2016-10-01 14:23:50 -04:00
Simon Gough
4b8101398c Added Android Expansion File Support (#142)
* Add Android Expansion File Support

* Added notes for usage with Android Expansion file

* Update README.md

Added notes re: expansion file usage.

* formatting issue fixes
2016-09-14 07:28:06 -04:00
Josh Habdas
8982843311
Add note for min RN version for require assets 2016-09-10 10:48:10 -05:00
Matt Apperson
3130bce6bd Update README.md 2016-08-30 08:18:19 -04:00
Josh Habdas
81b852ae20
Simplify asset system example 2016-08-21 01:29:36 -05:00
Josh Habdas
18d9369796
Incorporating feedback from @mroswald 2016-08-17 10:34:45 -05:00
Josh Habdas
55fbfc0270
Make more sense 2016-08-17 08:51:03 -05:00
Josh Habdas
5f35c03078
Additional info on mp4 in RN asset system 2016-08-17 08:49:12 -05:00
Josh Habdas
37a0f0719f
Remove tip for now 2016-08-16 17:25:31 -05:00
Josh Habdas
455fcc2fc0
Be more general in TODOs link 2016-08-16 15:41:35 -05:00
Josh Habdas
0eaf3b2698
Add instructions for Asset System usage 2016-08-16 15:34:14 -05:00
Josh Habdas
1479b3ebd7
Update TODOs with more useful link 2016-08-16 14:57:14 -05:00
sarju
158701cab7 Readme file changes for react-native > 0.29 2016-07-28 10:14:18 +05:30
Stanisław Chmiela
5221c948d5 Merge pull request #207 from nfl/fix-packagename-android
fix package name mismatch for Android
2016-06-08 11:07:04 +02:00
Tobias Hasselrot
b58c7e0f97 Added documentation of playInBackground and playWhenInactive props. 2016-06-02 08:29:16 +02:00
Takashi Aoki
4d7cbcd864 fix package name mismatch 2016-05-17 21:32:23 -07:00
Gonzalo Aguirre
400cb169a1 Fix typo in README
Make visible text *<Video>*  wrapping it with a code block
2016-05-09 15:37:33 -03:00
skleest
c2272bc8d6 README: prevent blocking outside music 2016-04-28 21:40:46 -07:00
Brent Vatne
b885d9dce0 Remove complex ios steps from README, rnpm is better 2016-04-12 14:33:46 -04:00
braco
087085f023 Update README to explain where android assets go 2016-04-12 13:49:10 -04:00
Brent Vatne
e73a93465a Update README.md 2016-03-24 19:40:04 -07:00
Brent Vatne
11fc3fcb45 Merge pull request #141 from perqa/patch-1
Update README.md
2016-03-24 19:36:55 -07:00