You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to play a song from a specified index using the playerAPI.play(_ contentItem:skipToTrackIndex:) function. I specify the index as 50000 (the duration of the track is 184665), and call the function. But every time I call the function, it just plays the track from the beginning. How do I properly implement this function?
I have this code here
appRemote.playerAPI?.play(contentAPIItem, skipToTrackIndex: 50000, callback: { result, error in
print(result)
})
No error is thrown and the result is printed, but it doesn't start playing from the specified index.
The text was updated successfully, but these errors were encountered:
I am trying to play a song from a specified index using the playerAPI.play(_ contentItem:skipToTrackIndex:) function. I specify the index as 50000 (the duration of the track is 184665), and call the function. But every time I call the function, it just plays the track from the beginning. How do I properly implement this function?
I have this code here
No error is thrown and the result is printed, but it doesn't start playing from the specified index.
The text was updated successfully, but these errors were encountered: