Merge pull request #166 from kiliwalk/master
support content:/ uri in android
This commit is contained in:
commit
12be1ff5f5
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