Commit Graph

642 Commits

Author SHA1 Message Date
Tobias Hasselrot
b58c7e0f97 Added documentation of playInBackground and playWhenInactive props. 2016-06-02 08:29:16 +02:00
tobias
f98ce00a30 Code style changes 2016-06-02 07:58:38 +02:00
tobias
8bc165ca48 Merge remote-tracking branch 'upstream/master' 2016-06-02 07:48:36 +02:00
tobias
ace2207eaf Deleted ios specific file that was removed in master 2016-06-02 07:45:18 +02:00
tobias
2cba8c8eee Added play in background for Android 2016-06-01 17:05:42 +02:00
Stanisław Chmiela
242b79ac38 Publish new version 2016-05-30 17:03:47 +02:00
Stanisław Chmiela
2e90f3881c Merge pull request #230 from donnguyen/issue-214
Fix Issue 214
2016-05-30 16:18:30 +02:00
Don Nguyen
edf3a8c579 Remove observer of player before calling playerWithPlayerItem
It makes no sense if we move observer after calling calling playerWithPlayerItem because this is where the exception raises
2016-05-27 15:57:34 +07:00
James Stavros
f95db3a6d7 Added React import to android VideoPlayer Example
Import for React was missing in index.android.js of VideoPlayer, without which the example would not run.
2016-05-26 23:57:02 -05:00
tobias
36f62d333b Merge https://github.com/brentvatne/react-native-video 2016-05-23 13:52:08 +02:00
Stanisław Chmiela
b6dc7c469b Remove observer providing context 2016-05-19 20:27:23 +02:00
Takashi Aoki
4d7cbcd864 fix package name mismatch 2016-05-17 21:32:23 -07:00
Stanisław Chmiela
1c07048b7b Merge pull request #212 from radev/master
Allow to use content:// schema as source.
2016-05-17 09:42:50 +02:00
Stanisław Chmiela
e7337227fe Remove observer only if it has been registered
Happens if someone creates Video component, but doesn't set src to it.
2016-05-17 09:40:58 +02:00
Stanisław Chmiela
88e47159d7 Remove observer in setSrc if the source changes, but the view hasn't been removed from superview
Before: observer removes only in removeFromSuperview, but adds in setSrc – multiple setSrc would add multiple observers and one removeFromSuperview would remove only one observer. Now: Every addObserver in setSrc is balanced by removeObserver also in setSrc
2016-05-17 09:40:26 +02:00
Stanisław Chmiela
901f0cc9ab Save current state of observing in _playbackRateObserverRegistered property 2016-05-17 09:38:35 +02:00
Stanisław Chmiela
5506805aac Add playbackRateObserverRegistered bool property 2016-05-17 09:37:11 +02:00
Igor Ivanov
1d67b7959e Allow to use content:// schema as source. 2016-05-11 12:25:50 +03:00
Stanisław Chmiela
ad29d3ea9f Merge pull request #211 from stephenmudra/android-cookies
Adding Cookie Support for Android Devices
2016-05-11 10:42:49 +02:00
Stephen Mudra
f617f445a6 Adding Cookie Support for Android Devices 2016-05-11 15:55:09 +08:00
Stanisław Chmiela
7db95e2c7f Bump version 2016-05-10 23:48:02 +02:00
Brent Vatne
c66a05492c Merge pull request #209 from gaguirre/patch-1
Fix typo in README
2016-05-09 13:25:23 -07:00
Gonzalo Aguirre
400cb169a1 Fix typo in README
Make visible text *<Video>*  wrapping it with a code block
2016-05-09 15:37:33 -03:00
Stanisław Chmiela
654ae1a27c Merge pull request #199 from sjchmiela/feature/additional_playback_callbacks
Additional playback callbacks
2016-05-09 16:12:29 +02:00
Stanisław Chmiela
3ebda0234d Merge pull request #192 from jgibbons/master
fix for RN 0.24+
2016-05-09 16:12:11 +02:00
Stanisław Chmiela
7e360f4d99 Merge pull request #205 from bcalik/orientation-feature
[iOS] Added orientation to onLoad event.
2016-05-01 18:36:29 +02:00
Burak Çalık
0c3cce542f coding style fixes 2016-05-01 18:26:56 +03:00
Burak Çalık
91abfbde8b [iOS] Added orientation to onLoad event. 2016-05-01 17:41:30 +03:00
Tobias Hasselrot
8844cc0316 Added missing property for playWhenInactive. 2016-04-29 14:16:21 +02:00
tobias
eb31337837 Added play when inactive to support playing while showing notification center. 2016-04-29 13:55:34 +02:00
Tobias Hasselrot
39443ae371 Fixed background playback behind notification center. 2016-04-29 09:46:28 +02:00
Brent Vatne
0117212716 Merge pull request #201 from skleest/master
README: prevent blocking outside music
2016-04-28 22:05:33 -07:00
skleest
c2272bc8d6 README: prevent blocking outside music 2016-04-28 21:40:46 -07:00
Tobias Hasselrot
848e6632a3 Sound now plays when app is in background. 2016-04-28 15:06:22 +02:00
Stanisław Chmiela
e35eaf645f Don't require more details than we set to receive 2016-04-28 14:59:49 +02:00
Stanisław Chmiela
d1eae07cfa Unstall video in model 2016-04-28 14:56:50 +02:00
Stanisław Chmiela
b03c02b4f2 Fix Obj-C problem 2016-04-28 14:45:14 +02:00
Stanisław Chmiela
c3552fbf1e Add JS handlers 2016-04-28 14:42:44 +02:00
Stanisław Chmiela
b37243fca2 Add playbackStalled and Resume events 2016-04-28 14:38:21 +02:00
Stanisław Chmiela
b55f71a29d Add onPlaybackRateChange callback 2016-04-28 14:37:45 +02:00
Stanisław Chmiela
f244f662b6 Add observer for _player rate 2016-04-28 14:29:09 +02:00
Stanisław Chmiela
505b94f9a6 Add sending onReadyForDisplay callback 2016-04-28 14:28:29 +02:00
Stanisław Chmiela
eb3fc2373a Add readyForDisplay callback 2016-04-28 14:25:45 +02:00
James Gibbons
acadabf179 fix for RN 0.24+ 2016-04-22 00:01:44 -04:00
Stanisław Chmiela
b17e3add97 Merge pull request #189 from sunnylqm/patch-1
fix screenPhysicalPixels error
2016-04-19 10:34:39 +02:00
sunnylqm
2364eccf1a fix screenPhysicalPixels error 2016-04-19 16:33:27 +08:00
tobias
1df54554dc Merge remote-tracking branch 'upstream/master' 2016-04-14 13:51:11 +02:00
Brent Vatne
878ee68f2e Beta release 2016-04-12 14:34:18 -04:00
Brent Vatne
b885d9dce0 Remove complex ios steps from README, rnpm is better 2016-04-12 14:33:46 -04:00
Brent Vatne
8eb36e6100 Update example app 2016-04-12 14:31:05 -04:00