Android Question [Solved] WebView plays YouTube in background

Beja

Expert
Licensed User
Longtime User
Hi,
My app was rejected by GP because YouTube doesn't stop after closing the app.
Any idea or hint to stop YouTube played in WebView as soon as the activity is closed?
B4X:
    WebView1.JavaScriptEnabled = True
    WebView1.ZoomEnabled = False
    WebView1.LoadUrl("https://www.youtube.com/watch?v=************")
Thanks in advance. -b
 
Top