fiveLoadSub icon indicating copy to clipboard operation
fiveLoadSub copied to clipboard

The elapsed time is not displayed correctly

Open tenax2015 opened this issue 6 years ago • 2 comments

The elapsed time of up to 29 seconds is displayed correctly, but then a minute is added, that is, 1 minute and 30 seconds are displayed instead of 30 seconds. This lasts up to 1 minute, and after 1 minute and 59 seconds, 1 minute is displayed again. Example: 1 sec ... 29 sec, 1 min 30 sec ... 1 min 59 sec, 1 min 0 sec ... 1 min 29 sec, 2 min 30 ... 2 min 59 sec, 2 min 0 sec and so on

tenax2015 avatar Sep 20 '18 16:09 tenax2015

The error lies in the fact that in /inc/richVideoControl.standalone.js in function second2TimeCode(sec)

instead of var m = Math.round(parseInt(sec.toString()) / 60) || 0;

nessesary to use var m = div(parseInt(sec.toString()), 60) || 0;

tenax2015 avatar Sep 21 '18 08:09 tenax2015

The error lies in the fact that in /inc/richVideoControl.standalone.js in function second2TimeCode(sec)

instead of var m = Math.round(parseInt(sec.toString()) / 60) || 0;

nessesary to use var m = div(parseInt(sec.toString()), 60) || 0;

Hi, I'm considering to rewrite fiveLoadSub completely. It would be very appreciate for supporting me. Please take a look: https://gogetfunding.com/fiveloadsub-a-incredibly-easy-subtitling-software/

wilsonlmh avatar May 11 '20 15:05 wilsonlmh