I want the audio to only be played once.
I have set my audio-player to be hidden and to play automatically.
Right now the player is not actually hidden and does not play automatically, but it works for me – as the player disappears when you press the play button. Thus the audio only plays once.
However, if the page reloads (e.g. the participant forgets to fill out the question, and the page reloads with a prompt saying the question is needed), the player appears again!
I don't mind the player being visible until you press the play button, but how do I prevent it from reloading?
If this involves JS, I would be very happy if you could add some examples/suggestions.
Or is there a simpler way to only get it to play once?