Use the HTML DOM to assign an "ondurationchange" event to a video element.
Event has fired:
Video courtesy of Big Buck Bunny.