AllowInlineMediaPlayback not working


#1

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>


#2

Add to your config.xml:

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

And, your video tag should look like this

<video id="myVideo" playsinline>