diff --git a/android/src/main/java/com/brentvatne/react/ReactVideoView.java b/android/src/main/java/com/brentvatne/react/ReactVideoView.java index c322ecd8..3e44bfbe 100644 --- a/android/src/main/java/com/brentvatne/react/ReactVideoView.java +++ b/android/src/main/java/com/brentvatne/react/ReactVideoView.java @@ -144,7 +144,12 @@ public class ReactVideoView extends ScalableVideoView implements MediaPlayer.OnP setDataSource(mThemedReactContext, parsedUrl, headers); } else if (isAsset) { - setDataSource(uriString); + if (uriString.startsWith("content://")) { + Uri parsedUrl = Uri.parse(uriString); + setDataSource(mThemedReactContext, parsedUrl); + } else { + setDataSource(uriString); + } } else { setRawData(mThemedReactContext.getResources().getIdentifier( uriString,