O'Reilly logo

HTML5 for Flash Developers by Matt Fisher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modernizr

An important feature we saw within the CreateJS bundle was the ability to easily check whether the client's web browser supports the intended HTML5 functionality to be used on your web page. However, only CreateJS has the ability to check for functionality compatibility for the features it uses within the libraries. If you are in need of digging deeper into checking whether your users have the appropriate functionality in their web browsers, the Modernizr project is definitely worth a look. Modernizr allows you to easily check for every feature within the HTML5 feature set with only a couple of lines of code and an external JavaScript file that is only a couple of kilobytes.

Using Modernizr

To start, you will need to head over to http://modernizr.com ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required