This example demonstrates how to use the "ondurationchange" attribute on a VIDEO element.
Note: When the video is loaded, the "ondurationchange" event will occur, it changes from "NaN" to the actual duration of the video.
Video courtesy of Big Buck Bunny.