Mike Dawson created CB-7786:
-------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]