updated ReactVideoView.java to fix seeking issue on android
This commit is contained in:
		@@ -637,7 +637,7 @@ public class ReactVideoView extends ScalableVideoView implements
 | 
				
			|||||||
    public void seekTo(int msec) {
 | 
					    public void seekTo(int msec) {
 | 
				
			||||||
        if (mMediaPlayerValid) {
 | 
					        if (mMediaPlayerValid) {
 | 
				
			||||||
            mSeekTime = msec;
 | 
					            mSeekTime = msec;
 | 
				
			||||||
            super.seekTo(msec);
 | 
					            mMediaPlayer.seekTo(msec,3);
 | 
				
			||||||
            if (isCompleted && mVideoDuration != 0 && msec < mVideoDuration) {
 | 
					            if (isCompleted && mVideoDuration != 0 && msec < mVideoDuration) {
 | 
				
			||||||
                isCompleted = false;
 | 
					                isCompleted = false;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user