News for hackers. Stuff that matters.

etianen

Unfortunately, providing the same JS media API for the Flash fallback is a massive task. There's a few solutions out there that provide a consistent API, such as mediaelement.js, but it's not the standard JS media API, and their overhead is much higher.

html5media aims to be the smallest, fastest solution available. It's a little low on features, but it's great for embedding videos with an absolute minimum of fuss and effort.

You can call html5media() at any time to kick in the fallback for any new video or audio tags that have been inserted into the DOM.
The styling of the controls are entirely at the whim of the user's browser. Unlike other players, html5media uses the native controls provided by the browser.

The Firefox and Safari controls are rather sweet. The Chrome ones are a little basic at the moment.

html5media was actually one of the first solutions out there. It's recently been re-launched with a faster, hosted CDN.

It's speed should be one of the best out there, as it's a single tiny javascript file that's heavily cached and shared between all websites.

If this is the same issue as was occurring in Firefox 3.0, then it has now been fixed.
I will confess, the though of doing it without jQuery never actually occurred to me. It's pretty much become synonymous with Javascript in my head.

I'll give some thought to a jquery-less solution.

I'm afraid it works just fine on my IE7 test machine. If you have more information, please submit a bug on the project site and I'll look into it. :)

http://code.google.com/p/html5media/issues/list