When an html5 video element finishes playing, it should fire the 'ended' event. This unfortunately is not happening. document.getElementsByTagName('video')[0].addEventListener('ended', function(){ alert('this will never happen'); });
Created attachment 67372 [details] a simple html and js for test, you can use arora open the html file. for the video tag, please indicate to a playable source. maybe need ffdshow to support some media type. ffdshow: http://www.free-codecs.com/download/ffdshow.htm
(In reply to comment #1) > Created an attachment (id=67372) [details] > a simple html and js for test, you can use arora open the html file. for the video tag, please > indicate to a playable source. maybe need ffdshow to support some media type. > > ffdshow: > http://www.free-codecs.com/download/ffdshow.htm Your test page behaves correctly (the 'this will never happen' alert shows) if the video element points to a file WebKit can open. I suspect that the problem, like in 45629, is that your test file contains a codec that WebKit does not support.