HTML5 video – is it possible to disable the picture in picture button on iOS?


#1

On the iPad specifically, I’d like to be able to remove the fullscreen and picture-in-picture buttons on the video controls. The video is playing inline with the “webkit-playsinline” attribute on the video element and

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

in config.xml.

Does Apple allow you to modify the inline video player controls? At the very least, to hide certain controls while keeping others?


#2

Related to this, I want to know if is possible to disable dynamically the AllowInlineMediaPlayback property; becasuse my app has two players, and this property is required only in one, but not in the other.

Thanks.