updated parameter to use constant instead of 3

This commit is contained in:
MONSX662 2022-06-08 11:52:33 -04:00
parent 8254a1d670
commit 5a94985762

View File

@ -637,7 +637,7 @@ public class ReactVideoView extends ScalableVideoView implements
public void seekTo(int msec) {
if (mMediaPlayerValid) {
mSeekTime = msec;
mMediaPlayer.seekTo(msec,3);
mMediaPlayer.seekTo(msec, MediaPlayer.SEEK_CLOSEST);
if (isCompleted && mVideoDuration != 0 && msec < mVideoDuration) {
isCompleted = false;
}