add latest audioplayer_addon
add querystringparameter ?shuffle (I have added this (undocumented) feature)
click on play (for nexttrack longtouch on play)
I put the script, efficiently after the /body tag so that the page is drawn before the huge script is sent to client.
I didn't manage to minify the verbose script yet, and it does cause a notably larger file size (it needs a diet).
I did add location.search=shuffle to the editable vars.
Next, I added a play icon ▶ with link to call the script, a href="javascript:addon()".
Results: No music.
So, the non-working attempt is
attached. I probably don't have the skill to edit that script so that it will shuffle play current folder .mp3, .m4a, .wma, .flac, .ogg, file types with just one convenient click on a play button. If navigation to a different folder doesn't stop playback, then it would also need a stop function. But first, can we make it play?
File has moved. Keep scrolling...