canPlayAudio(type) → {boolean}
Check whether the host environment can play audio.
Parameters
Name Type Description type string One of 'mp3, 'ogg', 'm4a', 'wav', 'webm' or 'opus'.
Returns
boolean - True if the given file type is supported by the browser, otherwise false.
Source code: utils/Device.js (Line 1250)