updated ReactVideoView.java to fix seeking issue on android
This commit is contained in:
parent
10d8034895
commit
c110822b3f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user