html-midi-player
html-midi-player copied to clipboard
Is there any way to make it make sound on phones even when the 'silence' switch is enabled?
At first I thought it wasn't working on phones, but then I saw #28 and #32 and realized that I just needed to move the 'silence' switch on my phone. But this is contrary to how most (or all?) music (and video) players I've used online work. A couple big examples are Youtube and Bandcamp, neither of which require you to un-silence your phone to make sound, and there are many more examples out there. I'd be willing to bet that the reasoning behind this is that since you have to actively press a play button, that means you want it to actually play. I think that reasoning fits well with this library too, especially since there is no autoplay.
So, is there a way to do this currently? (I couldn't find anything in the docs about it, but maybe I missed something.) And if not, can that be added?
I suppose this is something specific to iOS because I'm not familiar with this behavior. It looks like one would have to use a workaround like this to make that work, but I'm not able to test it.