Calling setPosition immediately before play causes intermittent playback problems.
My situation: I have a playlist-type application that plays back one video after another. When one video ends, I increment to the next video, set position to 0 on the new video, and then play the new video. Maybe 1 time out of 30, the new video just fails to start playing.
My best (not great) guess is that, since the calls are asynchronous, the setPosition call ends up happening after the play... But this doesn't totally make sense because setPosition shouldn't pause or stop the video, right?
Calling setPosition immediately before play causes intermittent playback problems.
My situation: I have a playlist-type application that plays back one video after another. When one video ends, I increment to the next video, set position to 0 on the new video, and then play the new video. Maybe 1 time out of 30, the new video just fails to start playing.
My best (not great) guess is that, since the calls are asynchronous, the setPosition call ends up happening after the play... But this doesn't totally make sense because setPosition shouldn't pause or stop the video, right?