2021年2月4日星期四

keep listening to video audio in webview when exiting the app

I have a webview and it plays a video. How can I do so that when I close the application the audio of the video continues to be heard.

browser.webChromeClient = object : WebChromeClient() {            }            browser.webViewClient = object : WebViewClient() {              }            val settings : WebSettings = browser.settings          settings.javaScriptEnabled = true            browser.loadUrl("https://youtube.com")  }  
https://stackoverflow.com/questions/66056588/keep-listening-to-video-audio-in-webview-when-exiting-the-app February 05, 2021 at 10:03AM

没有评论:

发表评论