Hello Everyone,
When a video player is paused, I am just recording the currentTime . That should give me the time until when the video is watched.
I believe it used to work, but suddenly today I always get 0 even though the video has been paused after watching for few minutes.
Here is my code:
export function videoPlayer1_pause(event) {
let pause = event.target.currentTime;
console.log(event.target.currentTime);
console.log("paused video at " + pause);
}
I only see 0 in the logs, no matter when i pause the video.
This seems like a bug. Could someone help with it.
Thank you,
Divya.