I have directly loaded the url https://youtube.com inside webview of my android app. There is an existing banner ads. I need to hide admob banner ads when video is playing and show when not playing. I am not using any API's to show youtube videos, instead i directly loaded youtube.com url into the webview. In this situation how to detect used tapped play button and pause button so that i can show hide admob banner ads into my application.
Thanks.