Commit Graph

321 Commits

Author SHA1 Message Date
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
Brent Vatne
3eacc143fa Merge pull request #159 from raksonibs/patch-1
Update README.md
2016-03-24 19:29:17 -07:00
Oskar Niburski
928321a970 Update README.md
.default argument for iOS
2016-02-29 20:45:48 -05:00
E.J. Bevenour
53198e13c1 fixed syntax error 2016-02-28 11:50:45 -05:00
perqa
e0ead69100 Update README.md
I could not get the Video component to work by following the provided example. I kept getting an error message saying "React.createElement: type should not be null, undefined, boolean, or number.". When I changed the way I include the component, it started working. It might be related to recent versions of react-native, not sure. You're welcome to modify the suggested text if you like. Thanks for a great piece of work!
2016-02-04 14:41:03 +01:00
Baris Sencan
dc81b80695 [README] Add Android installation instructions 2015-12-08 02:37:15 -08:00
Brent Vatne
d7d4ebdc7a Merge pull request #64 from NishanthShankar/master
Changes to README
2015-06-26 10:46:16 -07:00
Brent Vatne
b52600c7b1 Update for npm 2015-06-25 12:47:57 -07:00
NishanthShankar
1ca19bf410 Changes to README 2015-06-25 19:24:47 +05:30
Mark Burns
f258b21963 Fix inline image in README 2015-06-25 11:39:36 +09:00
Brent Vatne
7d9fdeb6e8 Remove annoying peerDependencies for now 2015-06-10 10:28:51 -07:00
Mark Burns
2bd154236c Use markdown syntax to display images inline 2015-06-01 20:16:59 +09:00
Brent Vatne
ca3e6066c2 Indicate license type 2015-05-17 11:40:23 -07:00
Josh Habdas
059512fcb6 Add missing installation step
In order to use this native component the video resources must be
added to the project and bundled on build.

- Also remove a duplicate data property
- Fix linkrot in README and add Examples section
2015-05-12 21:10:08 -05:00
Brent Vatne
2b5fc21caf Update README to remove pointless step 2015-05-11 08:20:42 -07:00
Brent Vatne
9a55b1f417 Update README 2015-05-11 08:20:42 -07:00
Brent Vatne
53deeb15f4 Clarify example project instructions 2015-05-11 08:20:31 -07:00
Brent Vatne
284f93ef5c Update README with TODO 2015-05-11 08:20:20 -07:00
Brent Vatne
25628d9877 Bump version for onEnd callback 2015-05-11 08:20:20 -07:00
Mike Wilcox
9f5aa72d94 add checkmark 2015-05-11 08:20:20 -07:00
Mike Wilcox
a7644bfdbe updated README with onEnd prop example 2015-05-11 08:19:46 -07:00
Brent Vatne
1f67f3e761 Note about TODO for buffering callback 2015-05-11 08:19:16 -07:00
Brent Vatne
61752153b3 Update to support react-native 0.3.10 2015-05-11 08:19:15 -07:00
Brent Vatne
b8d55afc16 Update README 2015-04-08 12:05:46 -07:00
Brent Vatne
a4c0d46d65 Update TODOS 2015-04-07 20:48:07 -07:00
Brent Vatne
e26a4d27f7 Remove unnecessary {} around source 2015-04-07 20:45:45 -07:00
Brent Vatne
e285ca9a1d Add some comments about props to the README 2015-04-07 20:44:06 -07:00
Brent Vatne
fccfdbfd30 Add volume, rate and muted props
- Also rename pause to paused
- Bump version
2015-04-07 20:38:16 -07:00
Brent Vatne
d22d75c332 Bump version and update README 2015-04-06 13:06:37 -07:00
Brent Vatne
353c6bd4e3 Update README 2015-04-06 12:18:50 -07:00
Brent Vatne
432d156160 Add captions to TODOS 2015-04-05 10:26:40 -07:00
Brent Vatne
a2d9c9cec3 List upcoming features in TODO 2015-04-05 10:25:04 -07:00
Brent Vatne
b100a9f882 Update README to reflect change with resizeMode 2015-04-05 10:18:09 -07:00
Brent Vatne
b8df485c79 Add resizeMode change to TODO 2015-04-04 18:49:05 -07:00
Brent Vatne
4261b932d7 Fix missing ` typo 2015-04-04 18:37:31 -07:00
Brent Vatne
fd9645d2e6 Bump version and update README 2015-04-04 17:57:35 -07:00
Brent Vatne
5408fafff8 Add support for repeat prop 2015-03-30 23:29:15 -07:00
Brent Vatne
ac3d655651 Add TODOS to README 2015-03-30 23:06:54 -07:00
Brent Vatne
6f9fb450c5 Update README as it should automatically have that path 2015-03-30 23:05:42 -07:00
Brent Vatne
0426cc4e32 Update README again 2015-03-30 22:57:04 -07:00
Brent Vatne
4a788addc3 Add README instructions 2015-03-30 22:51:58 -07:00
Brent Vatne
ea7a7bbcf7 Initial commit 2015-03-30 22:07:55 -07:00