有没有一种简单的方法只显示html5音频播放器的播放和停止按钮? [重复]

This question already has an answer here:

I have been searching all night and all I find is a lot of java script stuff. Is there a way to hide everything from the html5 audio player and only have a play and stop button?

</div>

Would this help?

<audio id="playaudio" src="hello.ogg"></audio>
<div>
    <button onclick="document.getElementById('playaudio').play()">Play</button>
    <button onclick="document.getElementById('playaudio').pause()">Pause</button>
</div>