Merge pull request #926 from ymuzi/master

add ipod-library support
This commit is contained in:
Hampton Maxwell 2018-09-03 18:30:30 -07:00 committed by GitHub
commit a0c196f4c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,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) {