Closed imyosh closed 1 year ago
You can save all the audio refs to one place, and when setting one of the audios to play, set all other audios to pause in the onPlay
callback. The player UI will be automatically updated when you do audio.pause()
method.
Closing it. Feel free to reopen if you need some followup discussion.
Is there an option so that only one audio can be played at a time when rendering multiple audio elements ? so that when user click play to one the others set to pause state