In this tutorial i will teach how to fix the video autoplay not working on iphone. This tutorial assumes that your video is using <video></video> tag.
Step 1: Go to your html code where you can find the video tag.
Step 2: You will need to add muted and playsinline in your video tag. check ex. below
<video muted playsinline autoplay width="100%" height="auto"><source src="https://example.com/test.mp4" type="video/mp4"></video>
note: make sure that you also added the autoplay
note: make sure that muted and playsinline is beside each other or else sometimes it does not work.
So that’s all for this tutorial, if you have any question kindly contact the author.