I'm using the plupload core API to create an audio upload system, without needing to upload anything from the computer because the data is recorded and uploaded through the APIs. In order to disable the upload button I noticed that there is the following method in the official documentation:
disableBrowse(disable)
Disables/enables browse button on request.
_Arguments_
disable Boolean
Whether to disable or enable (default: true)
I tried to insert it (disableBrowse(false)) in various parts of the code but it doesn't work. I didn't find any other useful information in the documentation, the library I use is the latest one currently available, but this API function doesn't seem to work. I thought that I could hide or remove the node using javascript, but since it would have been a client-sided update I would have vulnerability problems because a user could unlock the code and upload files (eg. reverse proxy).