Lock Screen shows skip buttons instead of next/previous when using MPRemoteCommandCenter with AVPlayer playlist

Hello,

I’m building an iOS video player using AVPlayer and a custom playback queue.

I implemented remote controls using MPRemoteCommandCenter and enabled:

  • nextTrackCommand
  • previousTrackCommand
  • playCommand
  • pauseCommand

I disabled:

  • skipForwardCommand
  • skipBackwardCommand
  • seekForwardCommand
  • seekBackwardCommand

I also set queue metadata in MPNowPlayingInfoCenter:

  • MPNowPlayingInfoPropertyPlaybackQueueIndex
  • MPNowPlayingInfoPropertyPlaybackQueueCount

Even with these commands enabled and the queue count greater than 1, the iOS lock screen continues to display the 10-second skip buttons instead of the previous/next track buttons.

The commands themselves work correctly when triggered externally (Control Center, headphones, etc.), but the UI still shows the skip controls.

Is there a way to force the lock screen UI to display previous / next track buttons for a video playlist?

Or is this behavior expected when using AVPlayer with video content?

Thanks.

Lock Screen shows skip buttons instead of next/previous when using MPRemoteCommandCenter with AVPlayer playlist
 
 
Q