WebView - Youtube videos playing in background on rotation and minimise
问题 I have an issue with WebView, basically I am loading in a forum that has embedded videos in places, if you play a video then rotate the device the video keeps playing in the background and you can get to it to stop it. This also occurs when you minimize the app. Is there a way to stop this? This is my WebView code I am using. super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); this.view = (WebView) findViewById(R.id.webView); view.setWebViewClient(new WebViewClient() {