I want to play a sound notification, so I used the method described here: Cross-platform, cross-browser way to play sound from Javascript? However, when quicktime is not installed on the client machine, everytime the soundPlay
function is called, a windows popup shows up. It says that quicktime is not installed, and proposes to install it.
For user experience, I would like not to bother users without quicktime like this:
function hasQuickTime() {
// how do I know ?
}
// play sound only if quickTime is installed
if (hasQuickTime()) {
soundPlay();
}