Forum Discussion
RogerJ
10 years agoCommunity Member
Store current timeline value
  Hi all, 
 I need to note when the user pauses a video. To do this, I'd like to store this value (e.g. 45 seconds) in a variable that can be then be read in a JavaScript. 
 I know how to read the var...
MichaelHinze
10 years agoCommunity Member
If you do need/want a time value, you can use a looped offstage animation with a 1 sec-long motionpath. Whenever the motion path completes, a variable is incremented. The variable value represents the playhead's position on the timeline. See this quick example here .I left the 'offstage' object (blue rectangle) in the viewable screen area so that you can see the animation looping. It only takes a handful of triggers to make this work.
- RogerJ10 years agoCommunity MemberThank you! This is very clever. The challenge is the user can pause or rewind the video. In these use cases, I don't think this timer would work? Regardless, thank you! 
Related Content
- 11 months ago
- 6 months ago