Android's WebView does not support the Media Session API (Browser compatibility on MDN).
Thus, in WebView-based browsers, the JavaScript files would previously crash and halt execution, breaking waveform generation, etc. I just added a check to see if the API is available, so that the script will continue running if it isn't.
Android's WebView does not support the Media Session API ([Browser compatibility on MDN](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaSession#browser_compatibility)).
Thus, in WebView-based browsers, the JavaScript files would previously crash and halt execution, breaking waveform generation, etc. I just added a check to see if the API is available, so that the script will continue running if it isn't.