How to find the duration of the current seek bar dynamically?
Hi community!
Is there a way I can get the duration of the seek bar from the current slide that the player is reside in? (if I can get the total duration of the seek bar, by applying this in the master slide, it should allow me to do the same stuff for multiple slides.)
I'm trying to tell if a player has completed more than 80% of the current slide, the classes that I'm making have informative audio with different length for most of the slides. If I can get the length of the seek bar, I'll be able to calculate the percentage of the slide that player has completed and giving feedback based on their completion.
I'm able to see something similar to what I wanted to do from the inspect section of the website after publish (image below.) But getting the total duration dynamically will be the step one for what I needed.
Thanks in advance!