supported-audio
Returns the best supported audio type for your browser of the types you provide.
Meant to be used in the browser with browserify.
example
var bestSupported = // => 'mp3' // => 'mp3' // => 'mp3' // => 'mp3' // => null
api
var bestSupported =
var type = bestSupported(types)
types
is an array of types to check.- Returns a string or null.
install
With npm do:
npm install supported-audio