Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Implemented
-
None
-
None
Description
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?