Right now there are two ways for the state and the video element to get out of sync:
if the user refreshes the page while a track is playing, state will say we're half way through the track, but the video will start playing from the start
if the admin presses the seek forward / seek backward buttons, the queue_item.start_time will be adjusted, but this isn't reflected in the video element
In both cases, it should be possible to detect that "state says we are half way through this track, but the HTML video element has video.currentTime pointing at the start of the video", and adjust appropriately
Right now there are two ways for the state and the video element to get out of sync:
state
will say we're half way through the track, but the video will start playing from the startqueue_item.start_time
will be adjusted, but this isn't reflected in the video elementIn both cases, it should be possible to detect that "state says we are half way through this track, but the HTML video element has
video.currentTime
pointing at the start of the video", and adjust appropriately