Modifying a DOM Property in html.Video - Dash Video Component

Hi Suvo,

I think you can find most of what you want here.

Excellent Video Player

All the speed and controls are shown in the demo app.

Note you will need to calibrate the video time with your time base (wall time?) but it is simple calculation. If you need frame position - it is usually done by multiplying the frame rate by elapsed time.

Thank you so much. I want the video to pause at certain times. I will check this and I will let you know if i face any issues.

Hi bro, I am trying to enter in an if loop and change the speed at a particular duration. But the duration is always changing. Can you please suggest

Hi Ian,

I want the video to pause at certain time but the time is always changing and it comes in 5 decimal places. For example, I want to stop the video at time 4. I am not able to do so as it’s not entering the loop because time is coming different everytime. Can you please suggest

Thanks,
Suvojit

I am following dash-player Dash Player Custom Component - Playing and controlling your videos with Dash . I want the video to pause at certain time but the time is always changing and it comes in 5 decimal places. For example, I want to stop the video at time 4. I am not able to do so as it’s not entering the loop because time is coming different everytime. Can anyone please suggest

Hi - not sure what your code looks like but if you check the time regularly (like every frame or every second or whatever your tolerances indicate) with an interval component and when returned time is greater than target time - send pause/stop command? You will need the correct vid time vs wall time corrections if necessary.

Hi, I’m trying to use this code, and have learned that plotly.plotly is deprecated. So, the example, test_vid.py, wont run. Have you developed this functionality since then? Could you guys (@chriddyp ) point me in the right direction? Thanks!