Commit Graph

782 Commits

Author SHA1 Message Date
Hampton Maxwell
98639d7c84 Begin adding 3.0 changes 2018-06-22 16:49:10 -07:00
Hampton Maxwell
954a97a73f
Merge pull request #1081 from react-native-community/revert-1080-revert-999-master
Reapply "Using SDK Version variables from root project""
2018-06-22 13:17:07 -07:00
Hampton Maxwell
39fb210291 Clear up background comment 2018-06-22 13:11:44 -07:00
Hampton Maxwell
28b06aac52
Merge pull request #1082 from react-native-community/bugfix/mediaplayer-bg-cant-pause
Preserve Android MediaPlayer paused prop when backgrounding
2018-06-22 13:04:51 -07:00
Hampton Maxwell
1bf0e06b34
Merge pull request #1085 from react-native-community/bugfix/mediaplayer-rate-exception
Avoid crash setting rate with some devices on Android MediaPlayer
2018-06-22 13:03:34 -07:00
Hampton Maxwell
d7c44104bd Catch exception when setting the rate on some devices
A more elegant fix would be nice but is more work than it's worth at this time.
2018-06-22 12:57:29 -07:00
Hampton Maxwell
31b9ba9928 Update auto-play notes to indicate that the issue only affected ExoPlayer 2018-06-21 22:39:57 -07:00
Hampton Maxwell
16fac5632d
Merge pull request #1083 from react-native-community/chore/exoplayer-autoplay
Automatically play on ExoPlayer when the paused prop is not set
2018-06-21 22:37:39 -07:00
Hampton Maxwell
c80aa33775 Automatically play when the paused prop is not set 2018-06-21 22:36:24 -07:00
Hampton Maxwell
c1558f1bd8 Don't wipe out paused prop when going to the background
This allows users to set paused when they detect a background event so that when you return to the app, the video is paused.
2018-06-21 20:24:42 -07:00
Hampton Maxwell
65f6b3b47a Document version 3.0 behavior changes 2018-06-21 18:42:06 -07:00
Hampton Maxwell
20f9c291cd
Revert "Revert "Using SDK Version variables from root project"" 2018-06-21 10:29:38 -07:00
Hampton Maxwell
7f6c218989 Version 2.3.1 2018-06-21 09:23:00 -07:00
Hampton Maxwell
77da422ffb Merge branch 'master' of https://github.com/react-native-community/react-native-video 2018-06-21 09:19:48 -07:00
Hampton Maxwell
0414d63893
Merge pull request #1080 from react-native-community/revert-999-master
Revert "Using SDK Version variables from root project"
2018-06-21 09:19:31 -07:00
Hampton Maxwell
7511487baf
Revert "Using SDK Version variables from root project" 2018-06-21 09:18:12 -07:00
Hampton Maxwell
b52c4d673b Version 2.3.0 2018-06-20 22:31:54 -07:00
Hampton Maxwell
d3d1947beb Version 2.3.0 2018-06-20 22:29:49 -07:00
Hampton Maxwell
1a27090b88 Add iOS seek tolerance 2018-06-20 22:29:31 -07:00
Hampton Maxwell
0418d8a94f
Merge pull request #1076 from react-native-community/feature/ios-configurable-seek
Ability to specify seek tolerance on iOS
2018-06-20 22:15:11 -07:00
Hampton Maxwell
9401328d46 Support specifying an alternate seek tolerance on iOS 2018-06-20 22:09:45 -07:00
Hampton Maxwell
3f243b1583 Document the seek() method 2018-06-20 22:09:05 -07:00
Hampton Maxwell
dc4c180cd4 Add audioOnly prop 2018-06-20 17:52:21 -07:00
Hampton Maxwell
e4e3ce1877
Merge pull request #1039 from shlokamin/master
adds audioOnly option that always displays poster image (if provided)…
2018-06-20 17:05:13 -07:00
Hampton Maxwell
06fafc88bf
Merge branch 'master' into master 2018-06-20 17:03:52 -07:00
Hampton Maxwell
b785060b30
Add prop type for audioOnly 2018-06-20 16:52:48 -07:00
Hampton Maxwell
a6808eea6b Fix for removePlayerLayer observer not being set 2018-06-20 16:46:39 -07:00
Hampton Maxwell
21cfcfd51d
Merge pull request #1075 from react-native-community/bugfix/remove-playerlayer-observer
Fix crash when clearing playerLayer observer after already unset
2018-06-20 16:37:24 -07:00
Hampton Maxwell
026afabe8b Only allow the player layer observer to be cleared if it's set (#907) 2018-06-20 16:33:50 -07:00
Hampton Maxwell
b3291ca190
Merge pull request #1074 from react-native-community/bugfix/no-text-title
Text track cleanups
2018-06-20 15:53:31 -07:00
Hampton Maxwell
b850b31f04 Return empty string instead of null if text track title or language are not set 2018-06-20 15:46:04 -07:00
Hampton Maxwell
e684ba65b6 Fix crash when selectedTextTrack is null or undefined 2018-06-20 15:34:36 -07:00
Hampton Maxwell
9ad11dd569 Avoid crash when text track doesn't have a title or language 2018-06-20 15:26:24 -07:00
Hampton Maxwell
20aae509db
Merge pull request #1063 from react-native-community/feature/sidecar-text-tracks
Sideloaded text tracks & include text track info in onLoad
2018-06-12 21:23:26 -07:00
Hampton Maxwell
3da2489484 Fix type in ISO name 2018-06-12 21:21:04 -07:00
Hampton Maxwell
146cbe3183 Clean up onLoad info 2018-06-12 21:17:47 -07:00
Hampton Maxwell
7793e00e9f Add TextTrackType export and textTracks prop 2018-06-12 21:04:15 -07:00
Hampton Maxwell
fdf34c50fe Initial commit 2018-06-12 21:04:00 -07:00
Hampton Maxwell
659ca8fad9 Document onLoad, onLoadStart & textTracks 2018-06-12 21:03:55 -07:00
Hampton Maxwell
d47a6ed424 Specify the text track type without any conversion 2018-06-12 20:57:30 -07:00
Hampton Maxwell
e2ea849d9e Add ability to sideload text tracks and report them in onLoad 2018-06-11 21:25:58 -07:00
Hampton Maxwell
a1a4e0c44b Report textTracks in onLoad 2018-06-11 20:55:23 -07:00
Hampton Maxwell
8aac3dd905 Testing sideloaded text tracks 2018-06-11 15:23:43 -07:00
Hampton Maxwell
ddbc9ab0d4
Merge pull request #1062 from react-native-community/chore/default-exoplayer
Make ExoPlayer the default Android library
2018-06-11 11:14:07 -07:00
Hampton Maxwell
361b771371 Make ExoPlayer the default Android library 2018-06-11 11:05:26 -07:00
Emrah Kaya
6cd7dfeedf fix syntax errors 2018-06-11 11:10:01 +02:00
Hampton Maxwell
1522644f70
Support allowsExternalPlayback on iOS 2018-06-10 11:05:43 -07:00
Hampton Maxwell
bd30454aea
Merge pull request #1057 from genglei01/master
Add allowsExternalPlayback Property for ios
2018-06-10 10:56:14 -07:00
Hampton Maxwell
36dffa694c
Reorder allowsExternalPlayback alphabetically 2018-06-10 10:48:32 -07:00
LeoGeng
187158be34 add an entry in the README for allowsExternalPlayback property 2018-06-11 00:31:22 +08:00