I am struggling with a problem. I am rendering a video with video.js and this is awesome. But I want to get the current frame number when I pause the video or if I click on a button, doesn't really matter. It is about getting the frame number of the exact moment from the video when it is paused or clicked.
I tried the normal method (time already played * fps) but this gives a number with a lot of decimals. So this is no option because it gives different numbers with the exact same frame.
Does anyone have a clue?
I am using Django frame work to te get the video from the database to html.