Hi!
I have an problem with playing music on background. Here's more info:
Device & OS:
Device: Google Pixel
OS: Android
Browser: Firefox for Android (Mobile)
Descript… (مزید پڑھیں)
Hi!
I have an problem with playing music on background. Here's more info:
Device & OS:
Device: Google Pixel
OS: Android
Browser: Firefox for Android (Mobile)
Description:
When playing media via background web players (e.g., Spotify Web, YouTube Music via background play extension), the current track plays fine. However, when the active track finishes, the next track fails to autoplay and enters a paused state.
Playback only resumes once the screen is manually woken up / turned on. It appears Firefox is suspending background media execution or aggressively throttling background tabs/workers between track transitions when the OS enters a low-power/sleep state.
Steps to Reproduce:
Open Firefox Mobile on a Google Pixel device.
Load a music player (e.g., Spotify Web or YouTube Music with a background playback extension enabled).
Start a playlist and turn off the screen / lock the device.
Let the current track finish playing.
Expected Result:
The next track in the queue should automatically start playing seamlessly in the background with the screen off.
Actual Result:
Audio stops completely when the track ends. Unlocking or turning on the screen immediately triggers the next track to start playing.
Possible Root Cause:
Android Doze mode / battery optimization aggressively throttling JS execution, Media Session API events, or Web Audio/HTML5 Audio tags in background tabs during track handoff.
So can you please fix it?😭