html-midi-player
html-midi-player copied to clipboard
Download button
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).
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