Remove the full screen button from the video control bar in IOS

Hello everyone.

I'm making an app that takes video, and I use the controls property for the video playback bar.


In theme is that for IOS I can not remove the full screen button.


I am using this code (I'm using phonegap):


(Function (window, undefined) {

Var style = document.createElement ('STYLE');

Style.type = 'text / css';

Style.innerHTML = 'video :: - webkit-media-controls-fullscreen-button {display: none! Important;}';


Document.getElementsByTagName ('HEAD') [0] .appendChild (style);

}) (Window);


In android works perfectly, but in IOS it does not work.


Would anyone know how to do it?


Thank you very much in advance.


A greeting.

I am sorry.

I just realized that the button that appears is not the full screen, but the Picture in Picture.

How can I make it not to come out in my app.


Thank you very much.

Remove the full screen button from the video control bar in IOS
 
 
Q