You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sean Kelly (JIRA)" <ji...@apache.org> on 2015/12/29 01:17:49 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=15073291#comment-15073291 ]
Sean Kelly commented on CB-7786:
--------------------------------
I'd like to claim this. I sent my CLA earlier today and have already hacked a fix. Might need a day or two to make the correct fix and do necessary testing.
> 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
>
> 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