Implement the Media Session API which adds better control integration for Android Chrome users (including bluetooth)
I had originally added a silent audio track which played the first time the user clicked play to fix audio issues on iOS devices, but since the Media Session API also requires this hack (see #62), I've moved this functionality into its own middleware. This middleware will loop a 10 second silent audio file in an HTML5 audio tag while music is playing.
Added
I had originally added a silent audio track which played the first time the user clicked play to fix audio issues on iOS devices, but since the Media Session API also requires this hack (see #62), I've moved this functionality into its own middleware. This middleware will loop a 10 second silent audio file in an HTML5
audio
tag while music is playing.