How to restrict Webview from playing videos?

Video content sometimes appears when I load url, on my WebView. I think the video content fails when the video content is clicked and played by technical means. Is there any good method? Do you want to inject js or restrict it in native code?

Menu