Android video does not resume in webview -


i use webview show local html content contains video on android 4.2 , 4.3.

and call "webview.onpause()" method prevent video still playback when activity not visible.

when activity comes foreground, video not resume after call "webview.onresume()" method.

how can resume video after activity comes foreground?

thanks.

by default, it's not possible start media playback automatically script. can change behavior websettings.setmediaplaybackrequiresusergesture api: http://developer.android.com/reference/android/webkit/websettings.html#setmediaplaybackrequiresusergesture(boolean)


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -