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

allowDownloadByUrl does not work #12

Open
ctml91 opened this issue Nov 20, 2020 · 0 comments
Open

allowDownloadByUrl does not work #12

ctml91 opened this issue Nov 20, 2020 · 0 comments

Comments

@ctml91
Copy link

ctml91 commented Nov 20, 2020

Setting allowDownloadByUrl = true yields no change in behaviour. When debugging, the value is null, so it is not using getting the value.

It would also be helpful to improve the documentation, with examples as the demo does not show all options. I had to look through the code to figure out that it's looking at the file metadata for the url. When allowDownloadByUrl is set to false chrome just spits out Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.

https://stackoverflow.com/questions/27120757/failed-to-execute-createobjecturl-on-url

Not sure how it would even work if that function did work. The file on server is quite often stored in a permanent location that is not publicly accessible via URL. There is no way the utility would know what path to reach it at automatically.

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

1 participant