Vision Web Browser controls

Does anyone have experience using the Web Browser module to start a video and then at the end of a video, close the Web Browser? This is for a training video. It looks like I can use .getBrowser() but then I have no indication/visibility to when the video (.ogg) stops. It appears that I can somehow access JxBrowser commands but it is not readily apparent how to do this. There are only a few Web Browser properties that one can look at in the propertyChange
Any help would be much appreciated.

I could use some help with scripting available to the web browser object as well.
These seem to work… Browser (JxBrowser 6.23.1 API)