I am working on a music player web app. On android and desktop platforms, the autoplay feature (skip to next song or play a related song) works just fine. On iOS, when a new audio file is loaded into the html audio element, the audio being played by safari (or any other browser) is cut off and the OS integrated media player displays "Not playing". The skip function simply sets the audio src attribute to a new url audio.src = url;, loads audio.load(); and plays the song audio.play();. Are there any browser settings I can change or workarounds I can implement in the front end javascript?
Quote