Commit Graph

1851 Commits

Author SHA1 Message Date
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
Brent Vatne
228566951e Merge pull request #67 from bparadie/cleanup
Mild clean ups
2015-06-28 15:59:52 -07:00
Bernd Paradies
d4b62e252d Mild clean ups 2015-06-27 16:03:24 -07:00
Baris Sencan
3b53194839 Rename playerItemDidEnd as playerItemDidReachEnd 2015-06-26 15:13:03 -07:00
Baris Sencan
c985957dd5 Set player rate on main thread 2015-06-26 15:12:33 -07:00
Baris Sencan
bcecb6ed81 Set video gravity on main thread 2015-06-26 15:12:09 -07:00
Baris Sencan
f83da614cf Seek to time on main thread 2015-06-26 15:09:10 -07:00
Baris Sencan
449b97a6c2 Fix setPaused threading
Fixes #66
2015-06-26 14:31:03 -07:00
Brent Vatne
ab93afd2c3 Bump version 2015-06-26 13:49:26 -07:00
Brent Vatne
6e4d4b0be2 Merge pull request #65 from jhabdas/master
Remove Notification Center observers on dealloc
2015-06-26 13:48:43 -07:00
Josh Habdas
54ea11badd Remove Notification Center observers on dealloc 2015-06-26 13:41:41 -05:00
Brent Vatne
d7d4ebdc7a Merge pull request #64 from NishanthShankar/master
Changes to README
2015-06-26 10:46:16 -07:00
Brent Vatne
1f901be363 Pause video when the app is backgrounded 2015-06-25 15:40:46 -07:00
Brent Vatne
30374adf26 Remove RCTWebSocketDebugger from Example project 2015-06-25 15:21:09 -07:00
Brent Vatne
b5faab4fee 0.4.7 2015-06-25 12:52:30 -07:00
Brent Vatne
6ba179b7ed Update package.json 2015-06-25 12:52:00 -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
Brent Vatne
a435efe3d0 Various fixes
- Call super in removeFromSuperview
- setRate has to come at the end of modifiers
- Switch to requireNativeComponent
2015-06-24 21:27:38 -07:00
Baris Sencan
44b17119dd Fix attachListeners method's threading issue & other notification handling issues 2015-06-24 21:27:38 -07:00
Brent Vatne
17595f975b Merge pull request #63 from markburns/patch-2
Fix inline image in README
2015-06-24 21:02:52 -07:00
Mark Burns
f258b21963 Fix inline image in README 2015-06-25 11:39:36 +09:00
Brent Vatne
52fb282975 Bump version 2015-06-17 22:25:05 -07:00
Brent Vatne
bd755d88c4 Merge pull request #56 from isair/fix/playable-duration-edge-cases
Fix 'Invalid number value (NaN) in JSON write' crash
2015-06-17 22:24:37 -07:00
Baris Sencan
0927cee27b Fix 'Invalid number value (NaN) in JSON write' crash 2015-06-17 22:10:34 -07:00
Brent Vatne
3ac8d2e74a Bump version 2015-06-16 21:14:24 -07:00
Brent Vatne
1384b3f356 Fix whitespace 2015-06-16 21:14:14 -07:00