How many formats do I need for HTML5 video?
zencoder.com
zencoder.com
The part of the book that specifically covers this is:
http://diveintohtml5.org/video.html#what-works
It's a great book with frequent updates and it covers everything, including local storage.
I wanted it to be all HTML5 and I'm still experimenting. I ended up doing 3 H.264 versions (a large .mov and a large/small .m4v) and an Ogg file. Just to be safe, I put a couple download links for people.
I haven't had any complaints but I did notice that older version of iOS can't play it. Haven't really tested Android.
Getting them all converted and put on S3 is quite a PITA. Another thing I discovered–if you're putting Ogg files on S3, you have to make sure to set the mime-type or FireFox won't play it.
Better to use a .mp4 and .ogv (or webm) if you're want to go pure HTML5 and have the best results across browsers. The mobile browsers have additional restrictions.
Hypothetically were IE to ship with WebM support, Apple doesn't have the market share to enforce their current codec monoculture. The converse is not true however; Microsoft doesn't care if Safari/iOS can play WebM. The onus is thus on the IE team, and I think Apple is irrelevant to the issue.
H.264 seems to be the most widely supported format today, if you don't get screwed by the whole patent mess. A significant class of users do, though, if only because they use OSS browsers that are never likely to support a royalty-encumbered format. And of course, if you're distributing H.264 videos you probably need a lawyer one way or another.
As for customisation, Flash offers all kinds of possibilities that HTML5 video just doesn't, from custom controls to copy protection. Some people might not care, but they're probably the same ones who object to table-based layout and then expect you to write 20 lines of CSS and import three different IE-specific stylesheets just to get a trivial layout. Check out past comments from people who work at places like Google/YouTube.
ah, that brings back good old memories. We used to prepare at least three formats for WMP, Realplayer and Quicktime. AFAIK HTML5 isn't doing anything better.