In order to autoplay videos on iOS devices, certain attributes must be added to the video tag. Specifically, the three attributes are “playsinline”, “muted”, and “autoplay”.
<video playsinline muted autoplay>
<source src="movie.mp4" type="video/mp4">
</video>
By setting this up, the video will play automatically on iOS devices.