Commit Graph

885 Commits

Author SHA1 Message Date
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
Mark Burns
9723f8849f Fix setting of resizeMode and repeat when changing source 2015-06-16 21:12:22 -07:00
Brent Vatne
ab802303f3 Merge pull request #54 from machard/feature/local-files
support for absolute path and file:// paths
2015-06-15 15:37:12 -07:00
Brent Vatne
330b5a93fc Merge pull request #52 from isair/feature/playable-duration
Add playableDuration property to onProgress event
2015-06-15 15:36:28 -07:00
Matthieu Achard
95d67b011e support for absolute path and file:// paths 2015-06-14 19:31:39 +02:00
Baris Sencan
d3c2867ab2 Improve calculatePlayableDuration documentation 2015-06-11 18:11:55 -07:00
Baris Sencan
da4e5df5c8 Add playableDuration property to onProgress event 2015-06-10 14:29:38 -07:00
Brent Vatne
7d9fdeb6e8 Remove annoying peerDependencies for now 2015-06-10 10:28:51 -07:00
Brent Vatne
f7f5b22ee8 Bump version for peerDependencies, supporting upcoming 0.5.0 2015-06-05 10:18:52 -07:00
Brent Vatne
5624d72f11 Merge pull request #45 from markburns/patch-1
Use markdown syntax to display images inline
2015-06-01 13:36:20 -07:00
Mark Burns
2bd154236c Use markdown syntax to display images inline 2015-06-01 20:16:59 +09:00
Brent Vatne
a20b94757d Align more closely with react native style 2015-05-30 12:50:45 -07:00
Brent Vatne
c5eb6b4fec Fix crash from trying to remove observer multiple times 2015-05-30 12:47:14 -07:00
Brent Vatne
ca3e6066c2 Indicate license type 2015-05-17 11:40:23 -07:00
Brent Vatne
7259555b9c Bump for 0.4.3 2015-05-14 18:10:41 -07:00
Brent Vatne
b41a39b7bc Bump version 2015-05-12 20:28:15 -07:00
Brent Vatne
5cbfc2fca9 Merge pull request #35 from jhabdas/master
Documentation updates
2015-05-12 19:11:46 -07:00