Adapt progress bar to a Video player/scrubber 2

I have a progress bar in my project. Since I am new to scripting, Does anyone know how I can adapt the script to play/control a video? work in progress:


I think you’ve already asked this question here?

copy past the wrong question, I meant to ask how can I adapt my progress bar script (video player) in my project to play/scrub a video texture.
sorry for the confusion