You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/12/15 10:24:46 UTC
[jira] [Resolved] (CB-10153) WKWebview does not respect the
webkit-playsinline attribute
[ https://issues.apache.org/jira/browse/CB-10153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-10153.
-----------------------------------
Resolution: Won't Fix
Set to Won'tFix because we can't fix this without getting into unauthorized methods.
> WKWebview does not respect the webkit-playsinline attribute
> -----------------------------------------------------------
>
> Key: CB-10153
> URL: https://issues.apache.org/jira/browse/CB-10153
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin WKWebViewEngine
> Affects Versions: 4.0.0
> Environment: iPhone 5s, Cordova 5.4.1, iOS 9.1
> Reporter: Frederik Wessberg
> Assignee: Shazron Abdullah
> Labels: cordova-ios-4.0.1
>
> With the config.xml preference "AllowInlineMediaPlayback" set to true and the attribute "webkit-playsinline" set on HTML5 video elements, you would expect the media to play inline on iPhone devices such as on UIWebview.
> Looking in the CDVWKWebViewEngine.m file, the property is correctly bound to the WKWebview config object:
> wkWebView.configuration.allowsInlineMediaPlayback = [settings cordovaBoolSettingForKey:@"AllowInlineMediaPlayback" defaultValue:NO];
> However, video elements does NOT play inline.
> Here's a repo that shows this behavior:
> https://github.com/dlmma/NoInline
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org