2. HTML 5 – what is it ?
Web Workers HTML Audio Mobile
Web Sockets Geolocation Video WOFF
Indexed DB File API JavaScript WebGL
Offline CSS Performance Drag Drop
Canvas SVG XHR2 …
4. Detect features !
try {
var canvas = document.createElement("canvas");
if (canvas && canvas.getContext && canvas.getContext("2d"))
{
// SUPPORTED
} else {
// NO SUPPORT
} HTML 5 Test
} catch (Exception e) {
// NO SUPPORT Can I use
}
Modernizr
if (Modernizr.canvas) {
// SUPPORTED
}
5. Audio and Video
Plugin free playback
No single format specified and supported
No streaming media
IE Chrome Firefox Opera Safari
9+ 4+ 3.5+ 10.5+ 4+
MP4 MP4 MP4 MP4 MP4
Ogg Ogg Ogg Ogg Ogg
WebM WebM WebM WebM WebM