im trying to make responsive voice read out each sentences and there must be a 1 minute gap between each readouts.
function read(){
responsiveVoice.speak('قلم','Arabic Female');
}
var a = [1,2,3];
$(a).each( function(){
setTimeout(function(){ read(); }, 1000);
});
currently it only plays once and in the other two loops getting error
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
i also can't make it read anything passed to it dynamically