[wp-hackers] [GSOC-Proposal] Application prototype

Mohammad Jangda batmoo at gmail.com
Sat Mar 27 00:36:54 UTC 2010

> You shouldn't sniff for browser, but you certainly *can* snif for
> capabilities.  I would try to put in code that tests for the ability to
> render HTML5 video. If that's there use HTML5; if not, try Flash.  (anyone
> know a good way to test for HTML5 ?)

Pretty easy to check for video tag support:

Alternatively, here's a link that shows you how to fallback to Flash if
<video> is not supported:

Mohammad Jangda
www.digitalize.ca | @mjangda

More information about the wp-hackers mailing list