How to create a Play button

Hello Guys i want to replace the audio element with a play button. so when i will click it it will play the audio…

so i want a button to play this audio …

Hi @azax25547

You can use JavaScript to accomplish this. Have a look at this.

You can use the object this class creates along with an EventListener to play/stop the audio using a custom button element.

1 Like

Thanks for the source I will apply it