AllowInlineMediaPlayback not working

I’m using Ionic slides to slide through videos. I want to play my videos inline. When I open my app in mobile Safari everything works fine, when I build my app on iPhone as a native app video player always goes natie in full screen mode

I added this in my config.xml

<preference name="AllowInlineMediaPlayback" value="false" />

and video tag as:
<video id="myVideo" webkit-playsinline playsinline>

1 Like

Add to your config.xml:

<preference name="AllowInlineMediaPlayback" value="true" />

And, your video tag should look like this

<video id="myVideo" playsinline>
1 Like

Which config.xml, because each time I run that; then run the app it is overwritten. Also; where in the config.xml, there’s 3 locations it could be.