support content:/ uri in android

This commit is contained in:
kiliwalk 2016-03-12 16:29:21 +08:00
parent d039d823a5
commit ce4e44e459

View File

@ -90,7 +90,7 @@ export default class Video extends Component {
}
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;
if (resizeMode === VideoResizeMode.stretch) {