Merge branch 'master' into npm-package
This commit is contained in:
commit
6a011e1188
@ -6,6 +6,9 @@
|
|||||||
* Support video caching for iOS [#955](https://github.com/react-native-community/react-native-video/pull/955)
|
* Support video caching for iOS [#955](https://github.com/react-native-community/react-native-video/pull/955)
|
||||||
* Video caching cleanups [#1172](https://github.com/react-native-community/react-native-video/pull/1172)
|
* Video caching cleanups [#1172](https://github.com/react-native-community/react-native-video/pull/1172)
|
||||||
* Add ipod-library support [#926](https://github.com/react-native-community/react-native-video/pull/926/files)
|
* Add ipod-library support [#926](https://github.com/react-native-community/react-native-video/pull/926/files)
|
||||||
|
* Fix crash on ExoPlayer when there are no audio tracks [#1233](https://github.com/react-native-community/react-native-video/pull/1233)
|
||||||
|
* Reduce package size [#1231](https://github.com/react-native-community/react-native-video/pull/1231)
|
||||||
|
* Remove unnecessary import in TextTrackType [#1229](https://github.com/react-native-community/react-native-video/pull/1229)
|
||||||
|
|
||||||
### Version 3.2.0
|
### Version 3.2.0
|
||||||
* Basic fullscreen support for Android MediaPlayer [#1138](https://github.com/react-native-community/react-native-video/pull/1138)
|
* Basic fullscreen support for Android MediaPlayer [#1138](https://github.com/react-native-community/react-native-video/pull/1138)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import keyMirror from 'keymirror';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
SRT: 'application/x-subrip',
|
SRT: 'application/x-subrip',
|
||||||
TTML: 'application/ttml+xml',
|
TTML: 'application/ttml+xml',
|
||||||
|
@ -830,6 +830,10 @@ class ReactExoplayerView extends FrameLayout implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int getTrackIndexForDefaultLocale(TrackGroupArray groups) {
|
private int getTrackIndexForDefaultLocale(TrackGroupArray groups) {
|
||||||
|
if (groups.length == 0) { // Avoid a crash if we try to select a non-existant group
|
||||||
|
return C.INDEX_UNSET;
|
||||||
|
}
|
||||||
|
|
||||||
int trackIndex = 0; // default if no match
|
int trackIndex = 0; // default if no match
|
||||||
String locale2 = Locale.getDefault().getLanguage(); // 2 letter code
|
String locale2 = Locale.getDefault().getLanguage(); // 2 letter code
|
||||||
String locale3 = Locale.getDefault().getISO3Language(); // 3 letter code
|
String locale3 = Locale.getDefault().getISO3Language(); // 3 letter code
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package com.brentvatne.react;
|
package com.brentvatne.react;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
|
import android.annotation.TargetApi;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.res.AssetFileDescriptor;
|
import android.content.res.AssetFileDescriptor;
|
||||||
import android.graphics.Matrix;
|
import android.graphics.Matrix;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-video",
|
"name": "react-native-video",
|
||||||
"version": "3.2.0",
|
"version": "3.2.1",
|
||||||
"description": "A <Video /> element for react-native",
|
"description": "A <Video /> element for react-native",
|
||||||
"main": "Video.js",
|
"main": "Video.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
Loading…
Reference in New Issue
Block a user