Commit Graph

2277 Commits

Author SHA1 Message Date
Baris Sencan
804717e072 [Video] Define style in propTypes 2015-11-17 19:15:07 -08:00
Baris Sencan
af438045c9 [npm] Add ReactVideoView.java to package files 2015-11-17 18:05:33 -08:00
Baris Sencan
237432e6ff [Android] Implement all event properties 2015-11-17 17:55:08 -08:00
Baris Sencan
93b426c753 [Android] Simplify src assignment 2015-11-13 16:56:40 -08:00
Baris Sencan
a52f1d5dcf [Android] Implement seek and rate properties
rate won't be supported on Android for a while as the native
MediaPlayer class doesn't support it either.
2015-11-13 16:24:13 -08:00
Baris Sencan
9f73f22c62 [Android] Fix MediaPlayer issues 2015-11-13 16:06:42 -08:00
Baris Sencan
6ddd157f58 [Android] Default prop values 2015-11-13 14:36:15 -08:00
Baris Sencan
e63a004ee6 [Android] Prepare media player asynchronously 2015-11-13 14:35:52 -08:00
Baris Sencan
44203ab9d6 [Android] Fix video events 2015-11-12 19:27:12 -08:00
Baris Sencan
9e9e45c1a5 [Android] Move events inside RCTVideoView 2015-11-11 13:37:35 -08:00
Baris Sencan
125b99deba [Video] Bind missing callbacks
Remove seek from state.
2015-11-11 13:34:41 -08:00
Baris Sencan
63a860e85f [Video] Implement setNativeProps 2015-11-09 17:55:39 -08:00
Baris Sencan
d174b1a465 [Android] Better code structure 2015-11-09 17:54:15 -08:00
Baris Sencan
86790349e3 [Android] Send onVideoLoadStart, onVideoLoad, and onVideoEnd events 2015-11-08 18:19:03 -08:00
Baris Sencan
c03c45a362 [Android] repeat, muted, volume properties fully working 2015-11-05 17:13:35 -08:00
Baris Sencan
4362e596a8 [Android] src, repeat, paused properties fully working 2015-11-03 20:27:38 -08:00
Baris Sencan
1746779909 [npm] Typo fix 2015-11-02 15:36:46 -08:00
Baris Sencan
f34bd9d95a [npm][Android] Include RCTVideo.iml 2015-11-02 15:35:14 -08:00
Baris Sencan
318ce5d4d1 [npm] Add android files to package 2015-11-02 15:35:14 -08:00
Baris Sencan
0a3fdd912b [Android] Initial commit 2015-10-30 17:43:18 -07:00
Baris Sencan
826218017d [Video] Method location rearrangement 2015-10-30 17:40:11 -07:00
Tobias Hasselrot
c45a79a346 Added playInBackground property to allow continous live streaming when opening notification center or control center 2015-10-30 10:34:54 +01:00
Baris Sencan
b45c9577f0 [Video] Tidy up component code
- Newer syntax.
- Removed lodash dependency.
- Removed hard-coded ref.
- Seek using state.
2015-10-29 17:39:20 -07:00
Brent Vatne
3aa46875a5 Merge pull request #86 from browniefed/fixAbsolutePositioning
Bump Example in master to use .10-rc, also fix example to actually go full screen.
2015-09-16 15:42:47 -07:00
Brent Vatne
dc6de43642 Bump version 2015-09-16 15:38:06 -07:00
Brent Vatne
74ea1c28a5 Merge pull request #92 from refinery29/fix_merging_props
Use lodash instead of merge, unbreaking the component (for us)
2015-09-16 15:37:27 -07:00
Carlo Francisco
3d96525558 Use lodash instead of merge, because the latter is ignoring one of the params passed in 2015-09-16 17:36:17 -04:00
Jason Brown
b499d9e0b3 Absolute positioning of all 0s was with TouchableOpacity using Animated.View, need to also specify that the Animate.View is full screen as well.
Upgraded to .10rc and .60, also added RCTWebSocket to the Xcode project since it wasn't there.
2015-08-24 23:03:55 -07:00
Brent Vatne
1f0ba1347b Bump version for 0.10.0-rc compat 2015-08-23 20:24:15 -07:00
Brent Vatne
e22eae417d Merge pull request #85 from rnplay/rn-0.10-customevents-fix
RN 0.10 compatibility: switch to returning an array from customDirectEventTypes
2015-08-23 20:23:03 -07:00
React Native Playground
b43d11f17b remove unused constants 2015-08-23 02:30:18 +02:00
Joshua Sierles
5718d17f90 switch to returning an array from customDirectEventTypes, for RN 0.10.0 compatibility 2015-08-22 21:42:26 +02:00
Brent Vatne
0be086c644 Bump version 2015-08-07 23:59:52 -07:00
Brent Vatne
b406d73dec Merge pull request #84 from jim-lake/master
video breaks on react-native 0.9.0-rc
2015-08-07 23:59:25 -07:00
Jim Lake
cd555535af breaks on react native 0.9.0-rc if you modify props, instead create a new object 2015-08-07 22:35:57 -07:00
Baris Sencan
28d482852d Act according to playbackLikelyToKeepUp changes
Closes #57
This commit also includes some code style updates
2015-08-05 15:53:42 +03:00
Brent Vatne
db402be640 Fix imports and bump sample project to 0.8.0 2015-07-28 15:46:05 -07:00
Baris Sencan
e832d3860a Bump version 2015-07-23 10:39:44 +03:00
Baris Sencan
0429094d74 Merge dpeek/fix/paused-resumes-after-seek into master
Fixes #73 as well
2015-07-20 19:46:49 +03:00
Brent Vatne
cb3c519195 Merge pull request #78 from dpeek/fix/disable-layer-resize-animation
Disables default system animation when resizing AVPlayerLayer
2015-07-18 20:32:59 -07:00
Baris Sencan
8a4fbaf6f7 Remove dispatch_async calls to main queue
Due to the changes made in #77
2015-07-18 15:38:56 +03:00
Brent Vatne
5746a030bb Bump version 2015-07-15 08:13:40 -07:00
Brent Vatne
8e00f4834f Fix compatability with 0.7.1+ 2015-07-15 08:13:24 -07:00
David Peek
0513930399 Disables default system animation when resizing AVPlayerLayer
Not sure if this something you will want – perhaps it could go behind a flag. When animating video size, the default system animation makes the rendered size of the video lag behind the bounds of the react view. This patch disables the default animation, ensuring the video renders at the correct size.
2015-07-14 16:35:29 +01:00
David Peek
153eb59c41 Call setRate instead of pause/play as they are equivalent (fixes #75)
Video was resuming after seek when setRate was called after play/pause in applyModifiers. According
to Apple's docs play/pause are equivalent to setRate:1.0 and setRate:0.0, meaning that if rate was
1.0 the video resumed after seeking completed.
2015-07-14 11:06:50 +01:00
Brent Vatne
69f4a35de7 Bump version 2015-07-10 18:21:46 -07:00
Brent Vatne
e4bfeae036 Merge pull request #77 from christopherdro/update-0.7.1
Update for 0.7.1 release
2015-07-10 16:07:28 -07:00
Christopher
6655d9fb1e Update for 0.7.1 release 2015-07-10 16:03:17 -07:00
Baris Sencan
dae2ea2f66 Merge pull request #70 from brentvatne/fix/player-access
Fix issues that arise due to accessing _player on a queue other than main
2015-07-01 14:16:59 -07:00
Baris Sencan
e8e3ffec89 Set volume and muted properties on main queue 2015-06-28 23:23:31 -07:00