cifkao / html-midi-player

🎹 Play and display MIDI files on the web
https://cifkao.github.io/html-midi-player/
BSD 2-Clause "Simplified" License
663 stars 60 forks source link

Could I use a base64 content of the .mid file in src? #76

Closed elloza closed 7 months ago

elloza commented 7 months ago

Could I use a base64 content of the .mid file in src?

I'm trying to load a .mid in Streamlit with this component but I can't include the path to the file, could I embed it in base64 somehow to make it work?

Do you have any ideas?

Thanks a lot!