<audio id="player"></audio>
<div onclick="let p=document.getElementByID`player`; p.src='./song.mp3'; p.play()">Click me</div>
<audio id="player"></audio>
<div onclick="let p=document.getElementByID`player`; p.src='./song.mp3'; p.play()">Click me</div>
how to create a script that you can a music player in html?? help pls
hello! I'm looking for a script that will play music.
Does a script like this already exist out there?