Commit Graph

2291 Commits

Author SHA1 Message Date
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
Ranjan Shrestha
cc7b7abdca Android bug fixes on how the video progress was being handled. (#367)
* BUGFIX. Progress Update Handler was being called even when the video was paused. The handler was also being called unnecessarily even after the video has completed and unmounted

* Saved and restored the state of the video during the activity state changed
2016-11-03 16:43:01 -04:00
TomClarkson
9ff2ff8e95 Fix example link (#343) 2016-10-06 17:34:20 -04:00
jimmymeego
18ad1cd580 add cookies (#345) 2016-10-06 17:34:01 -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
Andrew Jack
0c746e8fe8 Clean project structure (#320) 2016-09-21 09:34:25 -04:00
Michael Crumm
8c9168b582 Fixes bug when pausing in fullscreen (iOS) (#325)
Similar to #153, attempts to pause in fullscreen mode will be negated by the `playbackLikelyToKeepUp` event.

This PR adds a check for `_fullscreenPlayerPresented`, in additional to `_controls` before calling `setPaused` for `playbackLikelytoKeepUp`.

This update is likely preferrable to #258, as it doesn't lose the empty buffer check.
2016-09-19 20:49:12 -04:00
Mark Vayngrib
7075e30ab8 fix typo (#327) 2016-09-19 20:46:41 -04:00
Evgeniy Sokovikov
7a1a0a82d0 udgrate example to rn33 (#329) 2016-09-19 20:46:15 -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
nharlow89
6dfbb1e2a5 explicitly release androids mediaplayer when component is unmounted (#319) 2016-09-09 08:45:23 -04:00
Edward Chan
83dd4c3ba9 add seekableDuration (#285) 2016-09-06 22:23:13 -04:00
Matt Apperson
3130bce6bd Update README.md 2016-08-30 08:18:19 -04:00
Alma Madsen
4d33bb0f69 prevent 'cover' resizeMode animation (#307) 2016-08-29 15:48:36 -04:00
Matt Apperson
4e63dcbaae Merge pull request #291 from Cordazar/bug/observers-not-deallocating
Added deallocation of observers
2016-08-29 14:58:52 -04:00
Matt Apperson
c547b5a382 Merge pull request #270 from 5minutes/add-controls-option-android
Add controls property to Android
2016-08-29 14:57:52 -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
Brent Vatne
71eedc2fac Bump version 2016-08-15 18:14:34 -07:00
Brent Vatne
6f969a8614 Merge pull request #251 from mroswald/feat/play-react-native-assets
use react native asset resolving
2016-08-15 18:13:41 -07:00
Brent Vatne
b0d44ee3ee Remove boilerplate added copyright which doesn't belong here 2016-08-11 12:45:54 -07:00
Brent Vatne
a5d2e9b207 Remove boilerplate added copyright which doesn't belong here 2016-08-11 12:45:19 -07:00
Brent Vatne
6a61fd7935 Remove boilerplate added copyright which doesn't belong here 2016-08-11 12:44:36 -07:00
Brent Vatne
8bd71a79ac Merge pull request #280 from SarjuHansaliya/master
Readme file changes for react-native >= 0.29.0
2016-08-11 10:54:49 -07:00
Ricard Fredin
b15594e90a Added deallocation of observers to prevent an NSInternalInconsistencyException. 2016-08-04 14:32:04 +02:00
sarju
158701cab7 Readme file changes for react-native > 0.29 2016-07-28 10:14:18 +05:30
Vladimir Adamic
7c2ebfba00 Add controls property to Android
- displays MediaController over the Video screen if enabled
2016-07-12 18:34:05 +02:00
Stanisław Chmiela
b6c9a57ff2 Merge pull request #259 from whitecurrant/master
android_missing_events
2016-06-29 15:56:00 +02:00
Marcin Adamczyk
f62453f714 keep player valid after reaching video end 2016-06-29 15:44:13 +02:00
Marcin Adamczyk
5c422db78d add android Stalled and Resume events 2016-06-29 14:31:00 +02:00
Brent Vatne
b26e74cb49 Merge pull request #252 from mroswald/refactor/replace-bind-statements-with-class-property-functions
replace bind statements
2016-06-22 13:28:22 -07:00
Mark Oswald
c95d87b53b
replace bind statements 2016-06-22 16:33:32 +02:00
Mark Oswald
7fc7b3dc1b
use react native asset resolving 2016-06-22 15:52:12 +02:00
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
Stanisław Chmiela
f726d78d27 Merge pull request #229 from JimmyStavros/patch-1
Added React import to android VideoPlayer Example
2016-06-08 11:06:48 +02:00
Stanisław Chmiela
24c24cd962 Merge pull request #236 from thoblr/master
Added possibility to play video in background and when app is inactive.
2016-06-08 11:05:58 +02:00
Stanisław Chmiela
42ef271fde Merge pull request #239 from bcalik/android-orientation-feature
[Android] naturalSize callback to match iOS version.
2016-06-08 09:08:22 +02:00
Burak Çalık
70909c017b [Android] naturalSize callback to match iOS version. 2016-06-05 00:53:46 +03:00
tobias
1aded32019 Remove spaces 2016-06-02 08:33:18 +02:00
tobias
a10fe7501f Merge branch 'master' of https://github.com/thoblr/react-native-video 2016-06-02 08:30:05 +02:00
Tobias Hasselrot
b58c7e0f97 Added documentation of playInBackground and playWhenInactive props. 2016-06-02 08:29:16 +02:00