I want to have a button press display a web page, I use the standard approach with a WebViewClient and WebChromClient like so:
I want to play a video on a webview. For that I\'ve found this linkbut I can\'t understand how to implement the onShowCustomView 开发者_JAVA技巧method of the WebChromeClient.
Note 1: This question refers to HTML5 videos only, not Flash videos. Note 2: Also, it specifically targets HTML5 video playing on
I have a main page (main.html) in the assets folder that I am displaying with: webview.setWebChromeClient(new MyWebChromeClient());
What\'s the difference between setWebViewClient vs. 开发者_如何学JAVAsetWebChromeClient in Android?From the source code:
主料:鲜虾、竹笋、花生、辅料:红辣椒、酱油、1/2勺料酒、1/2勺盐、1/2勺胡椒粉、3片大蒜、4瓣香油、1勺糖、1/2勺笋丁和香辣虾: