How do I stop Flash after leaving a WebView?

后端 未结 6 1852
忘掉有多难
忘掉有多难 2020-12-30 08:11

I have an app that I\'ve put together to stream flash video in a webview when a user clicks a button.

It does this fine, but after backing out or losing focus, it lo

6条回答
  •  一个人的身影
    2020-12-30 08:51

    This approach works me. I call it on back button press.

    webview.stopLoading(); 
    webview.loadUrl("");
    webview.reload();
    webview = null;
    

提交回复
热议问题