Announcements

Help Wizard

Step 1

NEXT STEP

Who Me Too'd this topic

Web Playback SDK: Resume not working on Safari (Mobile and Desktop)

I started building a new Spotify player into a client project and noticed a potential bug in how Safari (mobile and desktop) handles resuming tracks.

 

In order to test this, I created a very simple custom player that processes each aspect (script load, player initialization, player connect, player activation, etc) of the Spotify Web Playback SDK one at a time (to see if something was tripping it up early in the process.) Everything seems to load fine and I'm able to transfer context and play a new track using `/player/play` no problem. I'm also able to pause the track both locally via the player SDK and remotely via the Spotify Connect API. However, when I try to resume the track on Safari (both locally and remote) it does not play.

 

Here's a screen recording of the issue:

 

https://vimeo.com/828189220

 

The left browser is Chrome, the right is Safari. Everything works fine on Chrome. I'm able to play, pause, and resume. On Safari, I'm able to play and pause but not resume. You'll notice me clicking the "Start playback" button to hit the /player/play API again but once I pause, I cannot resume where I left off. The same issue persists on iOS Safari. iOS Chrome works fine.

 

Am I crazy? Anybody else witnessing this?

Who Me Too'd this topic