Note on archived topics.
04-26-2011 10:07 AM
What does "native HTML 5 support" in IE 9 mean and why is it preferable to using an add-on for video or graphics? When would it be appropriate for developers to rely on HTML 5 video support over add-ons, such as using Silverlight and Flash? Is using Vista with IE 9 less effective in enabling native HTML 5 video playback than using Windows 7 with IE 9? When will the HTML 5 spec become finalized? Finally, how will users know to get the appropriate video codec for HTML 5 video support and will WebM video codec support be available for Windows Vista or just Windows 7?
04-26-2011 10:16 AM
Wow, that's a lot of questions! Here are links that I hope help:
- IE9 & HTML5 support: http://www.beautyoftheweb.com/#/productguide/html5
- Start developing in IE9: http://www.beautyoftheweb.com/#/startdeveloping
HTML5 will work equally fine on Windows Vista and Windows 7. However the Pinned Sites feature (http://www.beautyoftheweb.com/#/startdeveloping/pinning) only works in Windows 7.
04-26-2011 12:40 PM
You can absolutely start using HTML5 today, but of course the only people that can take advantage of a lot of the new features (like pluginless video/3D graphics) are the modern web browsers. Right now we're in transition, such that we have some browsers capable of HTML5 and some not. The good thing is, as a developer, there are some steps you can take to make your site backwards-compatible. Here are a few things you can do to gracefully degrade:
- Check and fallback: With HTML5 you can actually check to see if your browser supports a particular feature. If it doesn't, then just use the old tried and true method. Here's an example of how to give the user the best possible experience with IE9/HTML5, or if they have an older browser, just load a flash or silverlight plugin to get the job done. http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-html-5-video-with-a-fallback-to-flas...
- Backwards-compatability libraries/tools: There are several libraries out there that will help your HTML5 markup gracefully degrade for older browsers. One of the cool things in HTML5 is that there are specific tags now for articles, asides, headers and footers, which before were hard to tell apart as nearly everything was a <div> tag. Check out http://www.modernizr.com/ for one of my favorite ways of using HTML5 with a lot less worry about if other browsers support a particular piece of the HTML5 spec.
So, in short, HTML5 is a rollup of all of the things that have become commonplace on the web like video, games, particular layout styles into the HTML spec. The HTML spec is a "living" spec, so although there's a lot of talk about the spec being complete anywhere from 5-10+ years from now, that's really not being honest with what the spec is about. Try to think of the HTML spec as a larger collection of smaller specs, like a spec for the canvas, or video tag. Many of the components of the HTML spec are ready today, and some won't be ready for a while. So, It's appropriate to use HTML5 going forward, but of course some people just can't upgrade browsers yet for whatever reason (business standard, etc). Try and only implement something that's ready (if it's supported by IE9, it's ready), and when you do implement a feature like HTML5 video, simply add a fallback method for users who don't have that feature (or encourage them to upgrade for a better experience).
Hope that helps!