Non-Downloadable Audio Files

Hi there,

I have uploaded audio files but when linked in my content, it requires people to download the file on their computer. Is there anyway to prevent this from happening?

How is this possible?

Hi @kanderson

I believe that you need to put the audio link inside a video HTML element such as:

 <video controls="" autoplay="" name="media"><source src="https://file-examples-com.github.io/uploads/2017/11/file_example_MP3_700KB.mp3" type="audio/mp3"></video>

Here is another example you can inspire from,

Please let us know if you need any further assistance,
Fares

This is great. Thank you, Fares!

1 Like