Check out example codes for "html video autoplay IPHONE". It will help you in understanding the concepts better.

Code Example 1

<!-- On IOS devices safari block the autoplay by default. 
Playsinline allows to force autoplay and avoid this restriction --> 

<video autoplay loop muted playsinline class="video-background">
  <source src="videos/intro-video3.mp4" type="video/mp4">
</video>

Learn ReactJs, React Native from akashmittal.com