diff --git a/android/src/main/java/com/brentvatne/react/ReactVideoView.java b/android/src/main/java/com/brentvatne/react/ReactVideoView.java index e4e8d1af..ecfeb190 100644 --- a/android/src/main/java/com/brentvatne/react/ReactVideoView.java +++ b/android/src/main/java/com/brentvatne/react/ReactVideoView.java @@ -88,12 +88,8 @@ public class ReactVideoView extends ScalableVideoView implements MediaPlayer.OnP } } - public void reset() { - mMediaPlayer.reset(); - } - public void setSrc(final String uriString, final boolean isNetwork) throws IOException { - reset(); + mMediaPlayer.reset(); if (isNetwork) { setDataSource(uriString); @@ -105,7 +101,7 @@ public class ReactVideoView extends ScalableVideoView implements MediaPlayer.OnP )); } - prepare(this); + prepareAsync(this); } public void setResizeModeModifier(final ScalableType resizeMode) {