Check out example codes for "how to set video speed html". It will help you in understanding the concepts better.
Code Example 1
/* play video twice as fast */
document.querySelector('video').defaultPlaybackRate = 2.0;
document.querySelector('video').play();
/* now play three times as fast just for the heck of it */
document.querySelector('video').playbackRate = 3.0;
Learn ReactJs, React Native from akashmittal.com