youtube-ios-player-helper icon indicating copy to clipboard operation
youtube-ios-player-helper copied to clipboard

Disable Picture In Picture mode for youtube Player when app went to background

Open Suneel-Gunupudi opened this issue 3 years ago • 2 comments

Hi, I am facing one issue, when the app went to the background while playing video, by default video is playing i Picture in Picture mode on the Home screen of the iPhone. Can anyone help on this?

Suneel-Gunupudi avatar Jul 02 '21 07:07 Suneel-Gunupudi

configuration.allowsPictureInPictureMediaPlayback = false U need to add this to the webview configuration

ankit0812 avatar Sep 28 '21 15:09 ankit0812

Is "allowsPictureInPictureMediaPlayback"still available now?

allenlinli avatar Jun 09 '22 15:06 allenlinli