From c110822b3f7dea33036405648c423552655d804c Mon Sep 17 00:00:00 2001 From: MONSX662 Date: Tue, 7 Jun 2022 08:57:31 -0400 Subject: [PATCH] updated ReactVideoView.java to fix seeking issue on android --- android/src/main/java/com/brentvatne/react/ReactVideoView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/brentvatne/react/ReactVideoView.java b/android/src/main/java/com/brentvatne/react/ReactVideoView.java index f3f5fe7b..ed71c846 100644 --- a/android/src/main/java/com/brentvatne/react/ReactVideoView.java +++ b/android/src/main/java/com/brentvatne/react/ReactVideoView.java @@ -637,7 +637,7 @@ public class ReactVideoView extends ScalableVideoView implements public void seekTo(int msec) { if (mMediaPlayerValid) { mSeekTime = msec; - super.seekTo(msec); + mMediaPlayer.seekTo(msec,3); if (isCompleted && mVideoDuration != 0 && msec < mVideoDuration) { isCompleted = false; }