add ipod-library support

This commit is contained in:
YasirYang 2018-01-31 20:23:19 +08:00
parent 093ffccd9b
commit 723df5d4ae

View File

@ -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) {