Stoping HTML 5 video when removing a webview
I have a webView that displays HTML 5 video but if I remove the the webView you can still hear the audio from the video.
How can I stop this?
3 Answers
-
My 5-cent trick is to set webview url = google before closing or remove the webview.
-
when the view is closed, why isn't the webview getting destroyed?
-
In my app, I just set the url to "". Seems to work, but as mentioned above, I am concerned that the view is not being destroyed.