What I want to do is customize the controls of the html audio element. I need to display only one icon (the speaker) in the Front End, and it should only be the function of turning the mp3 audio on and off.
An example of what I need is google translator. The button to hear the pronunciation of the translation made.
I accept another suggestion that gives the desired result.
At the moment the audio presents this layout:
Asrequired:
ThecodeI'musing:
<audio controls src="audio.mp3" >
<p>Seu navegador não suporta o elemento audio </p>
</audio>