This example demonstrates how to assign an "onwaiting" event to a video element.
Play the video.
Video courtesy of Big Buck Bunny.