Hi - for a project I'm working on I want to make a video which will close itself when playback is complete.
The idea is - on loading the page a container div will appear and auto- play the video, then when playback is complete the video will be unloaded and the container will disappear. Invoking the container and the video player is no problem for me, but I am at a loss when it comes to detecting the completion of the video - is there a 'completed' event or an 'autounload' option?