From ce4e44e4591d4f3a24b4d0589fa2a3a624eab8c5 Mon Sep 17 00:00:00 2001 From: kiliwalk Date: Sat, 12 Mar 2016 16:29:21 +0800 Subject: [PATCH] support content:/ uri in android --- Video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Video.js b/Video.js index 7e6f2840..cc763c37 100644 --- a/Video.js +++ b/Video.js @@ -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) {