Recently I've been spending some time getting together a proposal for the HTML5 <video> and <audio> tags that enables web applications to gather statistics about how media playback is performing.

A lot of this was inspired by Mozilla's statistics support and the WebKit support I added at the beginning of the year (which shipped in Chrome 10).

So after a bunch of feedback, today I added a proposal to the WHATWG wiki — hopefully it won't get crushed too hard and we can get this into the HTML5 spec soon.

The key points are the ability to monitor download and decode bitrates as well as the presentation statistics and an interesting little metric called “jitter” that can give the developer feedback on perceived framerate quality.

Anyhow, take a look and give feedback on the list.