You could take a look at Popcorn.js as it is all about generating events off time points in HTML5 media. I even wrote an HTML bridge into jPlayer in the hope that jPlayer would work with popcorn with the flash fallback, but alas, they are not completely event driven and pole a media property that is screwed up in IE9. Well, the media property is correct in IE9, but every HTML element has the property so you cannot make your own like every other browser.
You could look at how they generate an array of time events though...
Actually, I added the code that works into the docs:
http://jplayer.org/latest/developer-guide/#jPlayer-option-emulateHtmlI have not looked at popcorn's development over the past few months, so maybe they use an event now rather than pole the media property. That code there in the docs will work in all browsers and IE9. It will not work in IE6/7/8 though if I remember rightly.
The problem being that they pole the readyState DOM property and for some reason, IE inherits the document.readyState for all nodes and then has the proper properties for the media elements. (Overriding the inherited value.)