android - HTML5 video remove overlay play icon -


how remove overlay play icon (triangle) that's visible in center of video second or every time video starts playing in android webview?

thanks in advance!

if said picture enter image description here

this picture had when tested app on android 6.0.

you can hide picture. example:

webview mwebview = (webview) findviewbyid(r.id.web_view); mwebview.setwebchromeclient(new webchromeclientcustomposter()); 

chrome client class:

private class webchromeclientcustomposter extends webchromeclient {      @override     public bitmap getdefaultvideoposter() {         return bitmap.createbitmap(10, 10, bitmap.config.argb_8888);     } } 

more info read api


Comments

Popular posts from this blog

javascript - addthis share facebook and google+ url -

java - Simulate the tossing of a coin three times and print out the percentage of cases in which one gets three tails -

c++ - Class declaration error at explicit keyword -