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

Code Example 1

<video controls muted autoplay loop>

  	<source src="movie.mp4" type="video/mp4">
  	<source src="movie.ogg" type="video/ogg">
  	Your browser does not support the video tag.

 </video>

Learn ReactJs, React Native from akashmittal.com