File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -455,10 +455,12 @@ export class AWebView extends WebViewExtBase {
455
455
nativeView . scrollView . userInteractionEnabled = ! ! enabled ;
456
456
}
457
457
[ mediaPlaybackRequiresUserActionProperty . setNative ] ( enabled : boolean ) {
458
+ // this.nativeViewProtected.configuration.mediaTypesRequiringUserActionForPlayback = enabled ? WKAudiovisualMediaTypes.All : WKAudiovisualMediaTypes.None;
458
459
this . nativeViewProtected . configuration . setValueForKey ( enabled ? WKAudiovisualMediaTypes . All : WKAudiovisualMediaTypes . None , 'mediaTypesRequiringUserActionForPlayback' ) ;
459
460
}
460
461
[ allowsInlineMediaPlaybackProperty . setNative ] ( enabled : boolean ) {
461
462
this . nativeViewProtected . configuration . setValueForKey ( enabled , 'allowsInlineMediaPlayback' ) ;
463
+ // this.nativeViewProtected.configuration.allowsInlineMediaPlayback = enabled;
462
464
}
463
465
464
466
/**
You can’t perform that action at this time.
0 commit comments