I want to create a simple page, that has audio on autoplay. It also has a “pause” and “play” button. I want to create a function that, when you press the “pause” button, the audio will stop; but after 3 seconds the audio will resume to its current reproduction mark.
Like an if function that when you press the “pause” button, the audio stops, but after a delay of e.g. 3 seconds the “play” button is pressed automatically. (That’s how I imagine it could work, but I don’t have the knowledge)
This is my HTML