diff --git a/android/src/main/java/com/brentvatne/react/ReactVideoView.java b/android/src/main/java/com/brentvatne/react/ReactVideoView.java index 8eabeff1..954130a1 100644 --- a/android/src/main/java/com/brentvatne/react/ReactVideoView.java +++ b/android/src/main/java/com/brentvatne/react/ReactVideoView.java @@ -253,6 +253,10 @@ public class ReactVideoView extends ScalableVideoView implements MediaPlayer.OnP headers.putAll(toStringMap(mRequestHeaders)); } + /* According to https://github.com/react-native-community/react-native-video/pull/537 + * there is an issue with this where it can cause a IOException. + * TODO: diagnose this exception and fix it + */ setDataSource(mThemedReactContext, parsedUrl, headers); } else if (isAsset) { if (uriString.startsWith("content://")) {