You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jeff Sawatzky (JIRA)" <ji...@apache.org> on 2014/08/15 22:35:19 UTC
[jira] [Created] (CB-7323) InAppBrowser overrides
MediaPlaybackRequiresUserAction in config for main app
Jeff Sawatzky created CB-7323:
---------------------------------
Summary: InAppBrowser overrides MediaPlaybackRequiresUserAction in config for main app
Key: CB-7323
URL: https://issues.apache.org/jira/browse/CB-7323
Project: Apache Cordova
Issue Type: Bug
Components: Plugin InAppBrowser
Affects Versions: 3.5.0
Environment: iOS
Reporter: Jeff Sawatzky
In my config.xml I have
<preference name="MediaPlaybackRequiresUserAction" value="true" />
Which works fine (auto play vine videos don't autoplay. yay!)...until I launch the InAppBrowser which then sets a user preference WebKitMediaPlaybackRequiresUserGesture to false, and then the main app webkit windows seems to read this setting instead of the one in the config.
I got around this by passing the mediaPlaybackRequiresUserAction=yes to window.open, but perhaps the InAppBrowser shouldn't be setting this preference option?
--
This message was sent by Atlassian JIRA
(v6.2#6252)