support content:/ uri in android
This commit is contained in:
parent
d039d823a5
commit
ce4e44e459
2
Video.js
2
Video.js
@ -90,7 +90,7 @@ export default class Video extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const isNetwork = !!(uri && uri.match(/^https?:/));
|
const isNetwork = !!(uri && uri.match(/^https?:/));
|
||||||
const isAsset = !!(uri && uri.match(/^(assets-library|file):/));
|
const isAsset = !!(uri && uri.match(/^(assets-library|file|content):/));
|
||||||
|
|
||||||
let nativeResizeMode;
|
let nativeResizeMode;
|
||||||
if (resizeMode === VideoResizeMode.stretch) {
|
if (resizeMode === VideoResizeMode.stretch) {
|
||||||
|
Loading…
Reference in New Issue
Block a user