Skip to content

Commit ee10d94

Browse files
committed
chore: testing
1 parent 2a373ec commit ee10d94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webview/index.ios.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,12 @@ export class AWebView extends WebViewExtBase {
455455
nativeView.scrollView.userInteractionEnabled = !!enabled;
456456
}
457457
[mediaPlaybackRequiresUserActionProperty.setNative](enabled: boolean) {
458+
// this.nativeViewProtected.configuration.mediaTypesRequiringUserActionForPlayback = enabled ? WKAudiovisualMediaTypes.All : WKAudiovisualMediaTypes.None;
458459
this.nativeViewProtected.configuration.setValueForKey(enabled ? WKAudiovisualMediaTypes.All : WKAudiovisualMediaTypes.None, 'mediaTypesRequiringUserActionForPlayback');
459460
}
460461
[allowsInlineMediaPlaybackProperty.setNative](enabled: boolean) {
461462
this.nativeViewProtected.configuration.setValueForKey(enabled, 'allowsInlineMediaPlayback');
463+
// this.nativeViewProtected.configuration.allowsInlineMediaPlayback = enabled;
462464
}
463465

464466
/**

0 commit comments

Comments
 (0)