Commit Graph

658 Commits

Author SHA1 Message Date
Olof Dahlbom
2b709a5d54 Protect events (#444) 2017-01-16 11:27:08 -05:00
Andrew Jack
9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00
Arjan Scherpenisse
cd53e389a0 Android: Resize the video correctly on layout changes (#432)
The transform matrix was not being recalculated when the View
dimensions changed. Fixed by copying the code from the scaleVideoSize
method from the ScalableVideoView.

https://github.com/yqritc/Android-ScalableVideoView/blob/master/library/src/main/java/com/yqritc/scalablevideoview/ScalableVideoView.java#L95
2017-01-11 07:47:56 -05:00
Olof Dahlbom
fe6bc4f3df Support react-native > 0.40 (#437)
* Support react-native > 0.40

* Bumping major version. Breaking change.

* Upgrade example project from 0.33 => 0.40.
2017-01-11 07:43:43 -05:00
James Hartt
9bcf70cbb5 Replace use of RCTBridge with RCTBubblingEventBlock (#381) 2016-12-12 19:16:11 -05:00
Linmic
0442061028 better judgement to remove poster (#412) 2016-12-08 09:43:11 -05:00
Linmic
7b95bae99a employ onPlaybackRateChange instead to smooth the poster disappearance (#411) 2016-12-08 09:12:34 -05:00
Gil Birman
595bc19c87 Update react-native-video.podspec (#408)
When directory structure was refactored, source files were moved to `ios/` dir, but the podspec wasn't updated to reflect this.
2016-12-06 13:41:07 -05:00
Linmic
5c2940f73d This is to provide a HTML5-like poster attribute for react-native-video component. (#400)
* offered html5-like poster attribute

* prevent unnecessary setState
2016-12-05 16:57:35 -05:00
Austin Witherow
0d48d1a56d docs(linking): add documentation on how to link library (#376) 2016-11-15 17:53:47 -05:00
Matt Apperson
b1ad115dac Merge pull request #373 from rozele/windows
feat(Windows): Adds Windows support to react-native-video
2016-11-15 17:53:33 -05:00
Eric Rozell
abefb3ae12 Update ReactVideoView.cs 2016-11-10 15:04:01 -08:00
Eric Rozell
5af9e26233 Update ReactVideoView.cs 2016-11-10 13:50:50 -08:00
Eric Rozell
1ab222d251 Update ReactNativeVideo.csproj 2016-11-10 13:09:13 -08:00
Eric Rozell
5c3a5cb90d Update ReactNativeVideo.csproj 2016-11-10 12:29:54 -08:00
Eric Rozell
e0f968da29 Update ReactNativeVideo.csproj 2016-11-10 12:28:48 -08: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
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