html-midi-player icon indicating copy to clipboard operation
html-midi-player copied to clipboard

Download button

Open cifkao opened this issue 4 years ago • 1 comments

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 avatar Jan 12 '21 19:01 cifkao

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

drscotthawley avatar Nov 28 '23 17:11 drscotthawley