electronoora / webaudio-mod-player

MOD/S3M/XM module player for Web Audio
https://mod.haxor.fi/
MIT License
364 stars 54 forks source link

Ui improvements #14

Open shokinn opened 7 years ago

shokinn commented 7 years ago

Hey there, I've some ideas to improve the ui.

electronoora commented 7 years ago

I'll look into these. The top two should be doable, but playlist sharing may turn out to be a bit difficult to do in a clean and/or user-friendly way.

The player has been intentionally built to have all session data client-side in localStorage, with the "back-end" being just httpd responding to GET requests for raw module files. This means that playlists would either have to be encoded into shareable URLs (query string length may become an issue) or involve adding a textarea to copy/paste playlists as raw text or JSON. I'll have to test if the former solution is at all feasible by seeing how much data I could squeeze into an URL by gzipping the playlist JSON and urlencoding it.

Nonetheless, neither of those solutions is particularly elegant so I'm open to suggestions.