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.