diff --git a/ios/ScratchJr/src/ViewController.m b/ios/ScratchJr/src/ViewController.m index 1936fe1..1df91fb 100644 --- a/ios/ScratchJr/src/ViewController.m +++ b/ios/ScratchJr/src/ViewController.m @@ -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];