This example uses the addEventListener() method to attach a "loadeddata" event to a video element.
Video courtesy of Big Buck Bunny.