I have the problem that sometimes the promise is neither resolved nor the catch method is called when I frantically click a play button several times. I.e. I don't get any feedback from the promise at all. The first few clicks always work, but latter one it seems to get stuck.
My code looks like this:
let promise = audio.play();
promise.then(function(){
console.log('resolved');
}).catch(function(error){
console.error(error);
);