You could use an range input. Then you could simply add an event listener on the video for "timeupdate" and an event listener of the range for "input" to sync them.