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

Download button #13

Open
cifkao opened this issue Jan 12, 2021 · 1 comment
Open

Download button #13

cifkao opened this issue Jan 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@cifkao
Copy link
Owner

cifkao commented Jan 12, 2021

It would be nice to have a download button to allow saving the currently loaded file, similarly to what the <audio> element has. This should be optional – possibly turned on with an attribute, maybe controls="download" (which might just reveal the button with CSS).

@cifkao cifkao added the enhancement New feature or request label Jan 12, 2021
@drscotthawley
Copy link

drscotthawley commented Nov 28, 2023

I added an optional "Download MIDI" link to v0.3 of midi-player via a simple web link:

<a href="....." target="_blank">Download MIDI</a> 

On WandB you have to manually right-click it because they disable the target="_blank" browser behavior somehow.
Examples of this: https://wandb.ai/drscotthawley/html-midi-player?workspace=user-drscotthawley

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

No branches or pull requests

2 participants