Hello everyone, I have inserted a video of youtube in a web view and I wanted to ask how to stop the video when I click on the back button of the phone without first stopping the video?
B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
'torno alla home
'torno alla home
StartActivity(Main)
WebView1.Visible =False
End If
End Sub