find-audio-player
Find the first available audio player
Install
$ npm install --save find-audio-player
Usage
var findAudioPlayer = var findAudioPlayerSync = var path =
API
findAudioPlayer(callback)
-> undefined
callback
Required
Type: function
Arguments: err, path
A callback to call with the path to the first available audio player or an error if no player was found.
findAudioPlayerSync()
-> string
Finds the first available audio player and returns the absolute path. If no player is found, an error is thrown.
License
MIT © Ben Drucker