When using the function event.target.getDuration() after the initialization of event, I get diferent values for the same video, sometimes a get a float point value with decimals (2221.241), and sometimes an int(2222)
Its not too much of a difference, but it is curious that result is not consisten ¿isn’t it?
Is it a bug wiht the function? Or thas it works that way?
The second one it’s is not even a rounded or a floor value.. it’s a ceil instead…
Best regards