This plays just fine, but pause seems to behave oddly.
When I call await player.pause() on the player, it pauses, but after calling await player.play() it always starts from the beginning of the track.
Seeking also has no effect and I am not getting any errors so I assume this is some fundamental problem here? The lock-screen controls cause the same reset after pause and then play. I tried it using the setPlaylistItems command and used the retainPosition: true option, but to no avail.
Not sure if I am doing something fundamentally wrong here, but when I create a single-track playlist like this:
This plays just fine, but pause seems to behave oddly.
When I call
await player.pause()
on the player, it pauses, but after callingawait player.play()
it always starts from the beginning of the track.Seeking also has no effect and I am not getting any errors so I assume this is some fundamental problem here? The lock-screen controls cause the same reset after pause and then play. I tried it using the
setPlaylistItems
command and used theretainPosition: true
option, but to no avail.Edit: This is happening on iOS 13.1.2