Synchronizing multiple videos in streamlit

I have a detection model of which I show the outputs in a streamlit video, but I also want the user to be able to see the ground truth video playing at the same time.

Right now I just have two but the user needs to click fast on the first play button and on the second one to be synchronized. I would like to know if there is a way to start the second video when the first one starts