i'm running a react js app that works perfectly fine on laptop but on the iphone the videos won't play even if you click them. here is the code used to display the videos. I have no error in the developer console of safari either when clicking the video.
<video className='video1' loop autoPlay controls="true" width='50%' height='50%' src='leadmagic.mp4' type='video/mp4'></video>