mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
iOS: disable PictureInPicture video play mode
This commit is contained in:
parent
ce9200b2f1
commit
076b6f4f60
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ NSDate *startDate;
|
|||
WKWebViewConfiguration *config = [[WKWebViewConfiguration alloc] init];
|
||||
config.allowsInlineMediaPlayback = true;
|
||||
config.allowsAirPlayForMediaPlayback = true;
|
||||
config.allowsPictureInPictureMediaPlayback = false;
|
||||
[config.preferences setValue:@YES forKey:@"allowFileAccessFromFileURLs"];
|
||||
|
||||
WKUserContentController *controller = [[WKUserContentController alloc] init];
|
||||
|
|
Loading…
Reference in a new issue