Hy,
I am trying to get HTML5 / Youtube videos (embedded) autoplay on Android client. It’s a well known that Apple iOS and Android disabled autoplay for most mobile platforms however after some research, stackoverflow users suggested a plausible solution.
It requires adding the below to source code:
int SDK_INT = android.os.Build.VERSION.SDK_INT;
if (SDK_INT > 16) {
engine.getSettings().setMediaPlaybackRequiresUserGesture(false);
}
or For Android 4.2.2+ all you need in your native code is
Could you guys plz, compile a new apk (beta version sort of) with the above modification for us
to test and see if that works in solving autoplay issue. It would really help until xibo gets the dedicated Youtube module.
thanks
btech.