I’m trying to have a video background on a page
I’m using video tag with source and with some styling it’s working fine on web and Android, but on IOS it’s not showing unless I add autoplay attribute which is openning video player on IOS devices instead of showing the video in the background
<video playsinline webkit-playsinline autoplay loop muted id="bg-video"> <source src="assets/backvideo.mp4" type="video/mp4"> </video>
I tried adding
<preference name="AllowInlineMediaPlayback" value="true" /> to confing.xml but that didn’t solve the issue
Does anyone have this issue? How can I overcome it?