Control two videos

I want to know how slider range works that can control time with two videos including pause and play.

Greetings

image

You can build a slider in CSS: https://codepen.io/nosurprisethere/pen/KJxwQz

Or regular HTML: https://www.w3schools.com/howto/howto_js_rangeslider.asp

And then you can combine some HTML5 video properties to set the ‘timeupdate’ value based on a range slider. Here’s an 8 minute video explaining some of the core concepts: https://www.developphp.com/video/JavaScript/Audio-Time-Update-Position-Tutorial