From 723df5d4ae825c2ffbbb20f0d856ee5d105a6af0 Mon Sep 17 00:00:00 2001 From: YasirYang Date: Wed, 31 Jan 2018 20:23:19 +0800 Subject: [PATCH] add ipod-library support --- Video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Video.js b/Video.js index feb79861..2fa6ddfa 100644 --- a/Video.js +++ b/Video.js @@ -166,7 +166,7 @@ export default class Video extends Component { } const isNetwork = !!(uri && uri.match(/^https?:/)); - const isAsset = !!(uri && uri.match(/^(assets-library|file|content|ms-appx|ms-appdata):/)); + const isAsset = !!(uri && uri.match(/^(assets-library|ipod-library|file|content|ms-appx|ms-appdata):/)); let nativeResizeMode; if (resizeMode === VideoResizeMode.stretch) {