Forum Discussion
FelixLi-04d0f92
2 years agoCommunity Member
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 m...
JoseTansengco
2 years agoStaff
Hi Felix,
Happy to help!
There isn't a way to dynamically detect the total duration of a seekbar. The next best thing to do would be to identify the duration of the slide in edit mode (as shown in the screenshot below) and use the Slide.ElapsedTime built-in variable to set a trigger that will fire when the timeline reaches 80% of its total.
I'll let other community members chime in with their own experiences in case someone has a different solution!
Related Content
- 1 year ago
- 15 days ago