This example uses the addEventListener() method to attach a "waiting" event to a video element.

Play the video.

Video courtesy of Big Buck Bunny.