Audio media items are presented within audio tags and we would like to include the controlsList=”nodownload” attribute to hide the download option on the pages. Is there a way to do this through the theme or elsewhere?
We don’t have any way to do that currently: you can set the
muted attributes but not any others.
The only way at the moment would be to edit the renderer (or I suppose, supply your own with a module): application/src/Media/FileRenderer/AudioRenderer.php
Thanks! I’ll give it a shot.