You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#104165 how to turn off downloads on html5 mp3 audio player?

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Tuesday, 05 May 2020 10:31 BST

shawneo
Im trying to turn off the ability for downloads on the html 5 mp3 audio player. I don't see it as an option on the jce media editor. Thanks for any help.

https://learnenglishorchinese.com/hsk-1-phrases/the-telephone-is-ringing-dianhua-xiangle

Shawn

Ryan
Unfortunately this is not an option in HTML, and each browser handles it differently, so it requires a few different approaches. See this post - https://www.joomlacontenteditor.net/support/forum/91927#p91932 And also, try adding the following to your template stylehseet:

audio::-internal-media-controls-download-button {
    display:none;
}

audio::-webkit-media-controls-enclosure {
    overflow:hidden;
}

audio::-webkit-media-controls-panel {
    width: calc(100% + 30px); /* Adjust as needed */
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.