Check out example codes for "android videoview not smooth for mp4". It will help you in understanding the concepts better.

Code Example 1

videoView.setOnPreparedListener(new OnPreparedListener() {
    @Override
    public void onPrepared(MediaPlayer mp) {
        mp.setLooping(true);
    }
});

Learn ReactJs, React Native from akashmittal.com