martedì, aprile 13, 2010

Ultra Cool: HTML5 Video Tag With a Flash Fallback

I came across an outstanding and elegant example by Henrik Sjökvist of using the HTML5 <video> tag, and degrading gracefully to SWF Object to use Flash if the browser does not support HTML5. (Additionally, I was just reading that SWFObject 2.2 [and beyond] should be compatible with HTML5.)

Here is the article:

Using The HTML5 Video Tag With a Flash Fallback

Also, be sure to check out the source code of his functioning example. I tried it on a few browsers and my iPhone:

HTML5 <video> Example