Merge pull request #166 from kiliwalk/master

support content:/ uri in android
This commit is contained in:
Brent Vatne
2016-03-24 19:31:25 -07:00

View File

@@ -90,7 +90,7 @@ export default class Video extends Component {
} }
const isNetwork = !!(uri && uri.match(/^https?:/)); 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; let nativeResizeMode;
if (resizeMode === VideoResizeMode.stretch) { if (resizeMode === VideoResizeMode.stretch) {