Open adventmedia opened 5 years ago
For anyone coming across this in the future, it's an attribute on
I found the answer in Stack Overflow. The attribute is accepting nodownload
, nofullscreen
, and noremoteplayback
https://stackoverflow.com/a/48333012/4233158
The option to disable the download is mentioned in a previous question: controlsList={"nodownload"}
<ReactAudioPlayer
src={audioSource}
controls
controlsList={"nodownload"}
/>
The docs mentions a prop "controlsList" but it is not documented in the audio tag documentation. Also the player has a ... menu with "Download" as an option which the client would like to remove. Assuming that "controlsList" would allow this… some documentation would be helpful