Uhm, does it fallback? How much faster is it than it's competitors, seeing as it's competitors have been around much longer and have many more features?
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.
Looks cool, but def needs some CSS additions to the play button, "cursor: pointer;" plus the other controls need the cursor property to be set to the proper thing.
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.
No. The scope of plugin seems to be to enable audio and video tags, not to provide JS API. Html5media basically just replaces each video and audio tag with FlowPlayer (swf video/audio player) instances if browser doesn't support HTML5 tags.
19 comments
[ 3.9 ms ] story [ 54.7 ms ] threadIt'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.
Does it work with content dynamically inserted into the DOM? A quick glance at the source indicates otherwise.
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.
The Firefox and Safari controls are rather sweet. The Chrome ones are a little basic at the moment.
If so, it leaves your tags alone. If not, it instead uses the Flash-based Flowplayer.
So, you can use the <video> and <audio> tags without worrying about browser support. I've used it several times and it works well.