I have an Activity
which is a WebView
. I have a WebChromeClient
inside it. Inside that, there are several callbacks which are meant t
in your class
private class MyWebChromeClient extends WebChromeClient
implements ..... MediaPlayer.onCompletion {
}
adding
@Override
public void onCompletion(MediaPlayer mp) {
// TODO Auto-generated method stub
mp.release();
}
gets rid of the error messages for me after the webview closes.
Now if only I could get the webview to play/stream vimeo videos :(