讨论 » 创建请求
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?
<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?