HTML5VideoEventFlow

Last Revision:
Version 1.1, 2010-11-18
Updated to log fullscreen mode events and error codes.
(Full Revision History)
Build Requirements:
Safari 3.1 and later on Mac OS X or Windows, or Safari on iPhone OS 3.0 and later
Runtime Requirements:
Safari 3.1 and later on Mac OS X or Windows, or Safari on iPhone OS 3.0 and later

In this sample, a message is logged to the webpage for each HTML5 video event that is emitted. You can toggle the visibility of notes that provide more information about each event.

You can point the src attribute on this video element to the source of your choice, and use this sample to inspect HTML5 video element events for different types of sources (a streaming video, a corrupt video, a very large video) in different software versions (Safari 3.1, 4.0, etc on the deskop, iPhone OS 3.0, 3.1, 3.2, etc.) on different platforms (iPhone OS, Mac OS X, Windows). Understanding when these events are emitted is important if you're designing a custom experience with HTML5 video.