Archive for August, 2010

HTML5 video buffering works better than Flash video buffering

Friday, August 20th, 2010

Support for the HTML5 “buffered” attribute was recently added to Firefox.

As I was playing around with the demo, I noticed that it worked much nicer than any video buffering I’d seen in flash (e.g. youtube). Specifically, if you load a video, and seek around to various points in the stream, flash will lose all buffered data except in a few specific circumstances (specifically, you have buffered a continuous range that includes both the current play position and the requested play position). Firefox with HTML5 video saves all the data it’s downloaded at any point, so you never need to redownload any data, and generally just works.

This is very nice. And if you needed any more encouragement, give up on flash for video, and switch to HTML5.