Add binary search to synchronize the video when seeking