▲ How to Play Mp3 Files in ReactJS at coderrocketfuel.com▼3 up and 0 down, posted by nmaafwe 1893 days ago 1 comment
tracker1 1892 days ago. link 1 point ▲ ▼Don't use the className like this... use a ref, it's what they're there for. Or you can at least use the event's target attribute... playAudio(e) { e.target.parentNode.getElementsByTagName("audio")[0].play() }