We looked at Modernizr briefly in Chapter 1, Before We Begin, but we haven't used it for anything much yet. It is highly recommended that we create a custom build of Modernizr. HTML5 Boilerplate comes with a custom build of Modernizr that includes every option available in the custom builder (
modernizr.com/download/) including extras such as HTML5Shiv, resource loader (
modernizr.load), media queries test, and the addition of CSS class names to the
html tag based on the test results from Modernizr.
The custom build of Modernizr enables HTML5 elements in IE (read more about it at
paulirish.com/2011/the-history-of-the-html5-shiv/). But, now, with our audio player, we have the opportunity to use the other ...