diff --git a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 033329b71b..af530c2b46 100644 --- a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -731,7 +731,7 @@ public void setRawSrc(final Uri uri, final String extension) { this.srcUri = uri; this.extension = extension; - this.mediaDataSourceFactory = DataSourceUtil.getRawDataSourceFactory(this.themedReactContext); + this.mediaDataSourceFactory = buildDataSourceFactory(true); if (!isOriginalSourceNull && !isSourceEqual) { reloadSource();