I'm using accompanist webview here: <https://googl...
# compose-android
c
I'm using accompanist webview here: https://google.github.io/accompanist/web/ Showing a youtube video. Super easy stuff. BUT when I press the home button on my android phone... the video's audio keeps playing. How can I make sure the audio stops when I go to a different screen in my app or go home on my phone?
e
it should probably wire up onPause/onResume
c
oOo. lemme try when im home. that seems promising, but i did try a couple of regular onResume, onPause efforts before to no avail
e
this is completely untested but possibly something along these lines would work