Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML audio controls - How to remove 3 dots from default audio player?

I have used the HTML AUDIO tag with CONTROLS to display an audio track.

<audio controls controlsList="nodownload">  
  <source src="horse.mp3" type="audio/mpeg">
</audio>

Using CSS audio::-webkit-media-controls- I figured that many functions can be modified.

However, I couldn't manage to figure out how to disable / hide those 3 dots on the player.

enter image description here

PS: This helped a lot in disabling / styling the controls with CSS. However, it was an answer from many years ago, so it didn't include playback speed options.

Is it possible to style html5 audio tag?

like image 881
Mellow Monk Avatar asked Oct 22 '25 10:10

Mellow Monk


1 Answers

Add this controlsList: noplaybackrate

<audio id="myaudio" controls controlsList="nodownload noplaybackrate">  
  <source src="horse.mp3" type="audio/mpeg">
</audio>
like image 171
heychez Avatar answered Oct 27 '25 04:10

heychez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!