justinmc / react-audio-player

A simple React wrapper on the HTML5 audio tag
MIT License
589 stars 104 forks source link

Render Array with ReactAudioPlayer #140

Open duyanh4788 opened 2 years ago

duyanh4788 commented 2 years ago

Dear .

I have Array issues and with the code below , audio files will play at the same time , I want audio files play by fourth in turn .

Please Help me

example : cons array = [ { key : '1' , src : 'http://.abc.wav' }, { key : '2' , src : 'http://.xyz.wav' }, { key : '3' , src : 'http://.cvx.wav' } ]

const renderAudio = () => { return array.map((item, id) => { return ; }); };

renderAudio() Screenshot from 2022-03-22 19-17-01