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
- Forum
- MediaBox
- JCE Editor
- Html5 video download button in controls (Google Chrome)
Please try JCE Pro 2.6.14 RC6 - https://www.joomlacontenteditor.net/downloads/editor/item/jce-pro-2614-dev
As the controlsList attribute is aChrome only, I have not added an option for this attribute, but rather an option to set a custom attribute name and value for the Video and Audio media types, in the Media Options tab, so for example you can add controlslist="nodownload nofullscreen" like this:
As the controlsList attribute is aChrome only, I have not added an option for this attribute, but rather an option to set a custom attribute name and value for the Video and Audio media types, in the Media Options tab, so for example you can add controlslist="nodownload nofullscreen" like this:
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Thanks Ryan for this answer. I was needed that option too.
But when I look for the attributes field but I can't see it.
Have you installed JCE Pro 2.6.14 RC6? - https://www.joomlacontenteditor.net/downloads/editor/item/jce-pro-2614-dev
Just because you're not paranoid doesn't mean everybody isn't out to get you.
You can do this with a css hack - https://stackoverflow.com/questions/39602852/disable-download-button-for-google-chrome/40975859#40975859
Add the following to your template stylesheet:
Add the following to your template stylesheet:
video::-webkit-media-controls {
overflow: hidden !important
}
video::-webkit-media-controls-enclosure {
width: calc(100% + 32px);
margin-left: auto;
}
Just because you're not paranoid doesn't mean everybody isn't out to get you.
You link is to an <audio> element, so you would need
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 */
}
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!