updated parameter to use constant instead of 3
This commit is contained in:
parent
8254a1d670
commit
5a94985762
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user