HTML5 Peeks, Pokes and Pointers - 0 views
-
Jacques Bosch on 21 Jul 11"Most new features can be detected in JavaScript. To test for HTML5 video support, create a element and check for a property in its DOM: if("canPlayType" in $new("video")){...} See Chapter 2: Detecting HTML5 Features."