Loading android/src/main/java/com/brentvatne/react/ReactVideoView.java +4 −0 Changes for android/src/main/java/com/brentvatne/react/ReactVideoView.java: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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://")) { Loading Loading
android/src/main/java/com/brentvatne/react/ReactVideoView.java +4 −0 Changes for android/src/main/java/com/brentvatne/react/ReactVideoView.java: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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://")) { Loading