You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/03 07:11:39 UTC
[jira] [Commented] (CB-7786) Support
mediaPlaybackRequiresUserAction on Android
[ https://issues.apache.org/jira/browse/CB-7786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129875#comment-15129875 ]
ASF GitHub Bot commented on CB-7786:
------------------------------------
Github user sgrebnov commented on the pull request:
https://github.com/apache/cordova-plugin-inappbrowser/pull/132#issuecomment-179030795
LGTM
> Support mediaPlaybackRequiresUserAction on Android
> --------------------------------------------------
>
> Key: CB-7786
> URL: https://issues.apache.org/jira/browse/CB-7786
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugin InAppBrowser
> Reporter: Mike Dawson
> Labels: android, cordova, inappbrowser
>
> The In App Browser in Android after API Version 17 (Android 4.2+ I believe) by default does not permit playback of audio and video elements unless triggered by a user event (blocks both autoplay and playing via Javascript). That's the same behaviour as iOS. I have forked Inappbrowser and written a patch for the Android version here that respects this feature (same parameter name as for iOS):
> https://github.com/UstadMobile/cordova-plugin-inappbrowser/
> Reading the contributors page I believe I need to send/sign the agreement and I need to add unit tests to cover this. I'm not familiar with the Cordova testing framework so might take me a bit of time to do that, or perhaps someone can add an appropriate test?
--
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