Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Note, you should adjust timings in playGetReady according to your sounds. Also, only a_5 and a_1 are loading.

The t variable won't return current countdown value, it returns the setTimeout id, which used to cancel the timeout function.
So you have to use another variable to record down the current countdown seconds and in the countDownTimer function, instead of assign 60 to seconds, assign the recorded current countdown seconds.
Or you can use a setInterval function to do the countdown job and set a pause boolean value to denote the status:
Rajkiran SwainPosted Jun 27, 2017, 7:59 AM