Commit Graph

214 Commits

Author SHA1 Message Date
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