Create event on percentage of track played #3036
Unanswered
antonellogatto
asked this question in
Q&A
Replies: 1 comment
-
You can use the timeupdate or audioprocess event and divide the current time by total duration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need a way to execute a function when a % ok the track is played.
I already made a sort of this creating an array of played intervals and updating it on any play and pause. The con is the the UI is updated when the user click on pause. I need a way to do it when the % is reached while playing the track. Is it ever possible?
Beta Was this translation helpful? Give feedback.
All reactions