[
https://issues.apache.org/jira/browse/CB-11074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316566#comment-15316566
]
ASF GitHub Bot commented on CB-11074:
-------------------------------------
Github user macrozone commented on the issue:
https://github.com/apache/cordova-plugin-wkwebview-engine/pull/7
It seems that this bug prevents autoplay in <video> and <audio> elements
on IOS, because the config "MediaPlaybackRequiresUserAction" is never passed to
the WkWebview instance and therefore always true (default in the code).
I needed to switch back to UiWebview in my meteor application because of
this.
See https://github.com/meteor/meteor/issues/7173
> WKWebView configuration is not considered
> -----------------------------------------
>
> Key: CB-11074
> URL: https://issues.apache.org/jira/browse/CB-11074
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin WKWebViewEngine
> Environment: ios
> Reporter: Alexis Kofman
> Assignee: Shazron Abdullah
> Priority: Critical
> Labels: ios, triaged
>
> Regarding the code of WKWebView.h, WKWebViewConfiguration seems to be a
> readonly property.
> {code}
> @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
> {code}
> But in this plugin, we are trying to update the WKWebView configuration after
> initialising it and it looks like all this part is not considered :
> https://github.com/apache/cordova-plugin-wkwebview-engine/blob/master/src/ios/CDVWKWebViewEngine.m#L146-L150
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]