Is there any option i can disable the download button from the audio player menu??
It's not enabled by default (presuming you mean the 'download' option in the controls array?). Do you have a codepen, codesandbox, or just somewhere I can debug. I'm working blind 馃憤
Thanks, I disabled it with controlsList="nodownload" attribute
It's not enabled by default (presuming you mean the
'download'option in the controls array?). Do you have a codepen, codesandbox, or just somewhere I can debug. I'm working blind 馃憤
Sorry to answer this old post, but a question arose that I couldn't solve.
I defined the download button in the settings, however at some point I would like to hide that button.
Would it be possible to do this via HTML? or I would have to have for example two separate codes, 1 with the download option and one without.
If you have any code on this issue could you show?
Thank you
P.S.:
Example, showing the download button in the player when the urls is set.
<audio id="player" class="js-player" controls data-plyr-config='{ "urls": {"download": "test.mp3"}}'>
<source type="audio/mp3" src="https://cdn.plyr.io/static/demo/Kishi_Bashi_-_It_All_Began_With_a_Burst.mp3" />
<source type="audio/ogg" src="https://cdn.plyr.io/static/demo/Kishi_Bashi_-_It_All_Began_With_a_Burst.ogg" >
</audio>
Most helpful comment
Thanks, I disabled it with
controlsList="nodownload"attribute