Skip to content Skip to sidebar Skip to footer

Android KitKat (4.4) Video Autoplay Does Not Work Anymore In Webview

on previous versions of Android, we were be able to start a video by calling play() method on video js element or by simulating a click event on it (only for some specifics devices

Solution 1:

Please try calling WebView.getSettings().setMediaPlaybackRequiresUserGesture(false) for your WebView.

(see http://developer.android.com/reference/android/webkit/WebSettings.html#setMediaPlaybackRequiresUserGesture(boolean) )


Post a Comment for "Android KitKat (4.4) Video Autoplay Does Not Work Anymore In Webview"