3

I noticed that in new version of Chrome browser (55.x) the audio player (HTML<audio>) has download button. I see this button in Chrome only and I can't find anything about how to turn it off.

Code:

<audio src="audioUrl.mp3" controls=""></audio>

Ideally I'd like to hide this button but if hiding button is not possible I'd like to prevent downloading file when button pressed. I couldn't find any ondownload event where I could do such thing.

Any help will be appreciated.

LJ Wadowski
  • 6,424
  • 11
  • 43
  • 76
  • 1
    You could always create your own set of controls (very easy to do) and hide the built-in ones. – Scott Marcus Jan 04 '17 at 16:41
  • @ScottMarcus yep I know that and I surely do, but I was looking for quick fix as I'm very unhappy because of this button – LJ Wadowski Jan 04 '17 at 16:42
  • Question is on Audio but duplicate link is on Video. Anyway, I found this answer: http://stackoverflow.com/a/41302624/2912339 – Elyor Apr 24 '17 at 15:54

1 Answers1

-1

"In reality, you can't. But you can make it harder to download."

The full response is here: Prevent HTML5 video from being downloaded (right-click saved)?

Community
  • 1
  • 1
  • 2
    The question wasn't about how to prevent downloading per se. It was about how to prevent the button from being visible. – Scott Marcus Jan 04 '17 at 16:41
  • So, it doesn't address the question as asked and it just links to another question? Who up-voted this? – canon Jan 04 '17 at 20:01