Commit Graph

2280 Commits

Author SHA1 Message Date
Johannes Lumpe
bcd48b7d21 Fixed invalid usage of JS-like OR 2015-05-11 08:21:16 -07:00
Brent Vatne
9c2184bd19 Respect the pause property at all times 2015-05-11 08:20:42 -07:00
Pasto
d9ea831321 Use the ViewStylePropTypes since they work & inherit from LayoutPropTypes 2015-05-11 08:20:42 -07:00
Brent Vatne
00aadf685a Add fix to support live streaming 2015-05-11 08:20:42 -07:00
Gaël Gillard
ce7f82b884 Provide a fallback if the duration cannot be get
This to avoid to send an errors stack caused by the `NaN` given in the JSON of the RCTEventDispatcher.

fixes #26
2015-05-11 08:20:42 -07: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
b8ac698258 Bump to 0.3.1 2015-05-11 08:20:41 -07:00
Johannes Lumpe
23feea9fba Made react-native a peer dependency, fixed invalid version error for package version 2015-05-11 08:20:41 -07:00
Brent Vatne
6fee22cac6 Bump for react-native 0.4.0 2015-05-11 08:20:41 -07:00
Brent Vatne
e12769f919 Reduce example video size and explicitly list package files 2015-05-11 08:20:41 -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
e6e4d13bc2 add onEnd Prop 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
Mike Wilcox
7fb273fa3c added attachListeners method which listens for end of playback and sends a notification 2015-05-11 08:19:46 -07:00
Mike Wilcox
ef48193266 add RNVideoEventEnd constant 2015-05-11 08:19:46 -07:00
Mike Wilcox
2da995b90f add onEnd event 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
58c0e150ed Add Johannes Lumpe to contributors, he is doing an awesome job! 2015-05-11 08:19:16 -07:00
Brent Vatne
75edd8cb80 Bump version 2015-05-11 08:19:16 -07:00
Johannes Lumpe
7bcbf3e075 Setting playerlayer to nil 2015-05-11 08:19:16 -07:00
Brent Vatne
59d503c1ef Add trailing / 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
Johannes Lumpe
1000266fd3 Removed unnecessary ref 2015-04-09 18:12:54 +03:00
Johannes Lumpe
29d4a4fda2 Using completion handler to trigger seek event now, in order to receive correct currentTime value 2015-04-09 17:19:09 +03:00
Johannes Lumpe
380c1d46cc Made seek a float value again, now triggered through this.refs.myVideoNode.seek(time) 2015-04-09 16:50:20 +03:00
Johannes Lumpe
45d79b701e Initial commit for seeking 2015-04-09 01:15:57 +03:00
Brent Vatne
ac3e4cf773 Update version of react-native-video in example 2015-04-08 12:25:17 -07:00
Brent Vatne
b8d55afc16 Update README 2015-04-08 12:05:46 -07:00
Brent Vatne
b689238127 Merge pull request #9 from johanneslumpe/feature/url-and-filetype-support
Refactor events, add support for filetype and uri parameters to source, add example project
2015-04-08 12:04:05 -07:00
Brent Vatne
7cef7432e8 Import RCTConvert properly 2015-04-08 12:02:42 -07:00
Brent Vatne
202dd3feb1 Add example project to control playback 2015-04-08 12:01:10 -07:00
Brent Vatne
bd1dc1f014 Fix local playback with source dictionary, set default rate/volume 2015-04-08 10:34:27 -07:00
Johannes Lumpe
e9e48bb666 - timer only starts when the video plays and is stopped when video is paused
- renamed event constants
2015-04-08 09:59:27 -07:00
Johannes Lumpe
00455ba1fb Added check for asset url 2015-04-08 09:58:14 -07:00
Johannes Lumpe
3b34df57ad Renamed event constants 2015-04-08 09:55:59 -07:00
Johannes Lumpe
6988c85268 Initial set of changes to make urls work 2015-04-08 09:55:59 -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
61508678d4 Fix indentation 2015-04-07 15:24:49 -07:00
Brent Vatne
8a2ec4aca8 Bump version 2015-04-07 13:28:52 -07:00
Brent Vatne
d3e8820b7b Merge pull request #8 from qingfeng/up
Load videos remotely from the network
2015-04-07 12:26:39 -07:00
qingfeng
93cc1c86b5 Load videos remotely from the network 2015-04-08 03:24:52 +08:00
Brent Vatne
56e2500eb4 Add header search path for standalone build 2015-04-07 10:57:00 -07:00
Brent Vatne
b1e20daf14 Bump version 2015-04-07 10:41:46 -07:00