Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there any clue how to disable file download option? #111

Open
Ryujin-lab opened this issue May 7, 2021 · 3 comments
Open

is there any clue how to disable file download option? #111

Ryujin-lab opened this issue May 7, 2021 · 3 comments

Comments

@Ryujin-lab
Copy link

No description provided.

@JoelChev
Copy link

JoelChev commented May 18, 2021

This issue more or less says what to do. TL;DR is add this prop to the component:

controlsList={"nodownload"}

This will prevent the user from being able to download the file (at least in newer versions of Chrome & React as per the docs for react-audio-player).

@ucin3d
Copy link

ucin3d commented Jul 29, 2021

The 'nodownload' option works to disable the download option.

Is there a similar approach to also remove the audio on/off toggle?

@infocryptocx
Copy link

I tried the nodownload option but it removed the entire player all together. have you found any other fixes by chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants