When using these fancy new HTML5 APIs, one should care about the browser support. You can use CanIuse website to check it. This is a very good resource to check support for everything and anything related to web.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
To properly provide graceful degradation, you can use Modernizr to check if client supports a particular HTML5 feature. When using Modernizr, the client code consuming the above module looks like:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17