Check out example codes for "html5 audio tag autoplay loop". It will help you in understanding the concepts better.
Code Example 1
<audio controls loop autoplay height="" width="">
<source src="movie.mp3" type="audio/mp3" />
</audio>
Code Example 2
<audio controls loop autoplay height="" width="">
<source src="movie.mp3" type="audio/mp3" />
</audio>
Learn ReactJs, React Native from akashmittal.com