I used the advice here: WebView and HTML5 <video>
To show a video in a webview by overriding onShowCustomView and setting the videoView the activity content.
In the js there is an event listener on the video element waiting for the "ended" event. This event never gets thrown and so the actions (eg, go to next page) that are meant to happen at the end of the video never occur.
As far as I can tell I don't have access to the js video element and so can't manually throw the event by overring onCompletion in Android code.
Is there a way to fix this without making changes to the js as it is not certain that I will always have access to this.
Thanks
KK