JavaScript video elapsedTime

Can I check elapsedTime of video object? Using JavaScript???
console.log( “video=” + prez.object(‘video’).elapsedTime()
Does not work…

Thanks
Lukas

2 Likes

What if you tried something like this…?

prez.variable("myVariable",prez.object("myVideo").player().position()/1000);

This would return the elapsed time in seconds to a variable called myVariable.

3 Likes

it works - thank you :grinning: