Forum Discussion
AndrewTeasda876
6 months agoCommunity Member
Add trigger to player controls
All,
How do I attach a trigger to execute JavaScript when the user clicks the player play/pause button?
AndrewTeasda876
6 months agoCommunity Member
Tom and Walt, appreciate the comments.
I have a javaScript function that runs when the timeline starts, the function starts a timer that tracks how long the user is on the page. If the user clicks the storyline player pause button, I'd like the timer to pause as well (and then restart when the user selects play). I just need to know if there's a trigger that fires to which I can attach the JavaScript command.
Walt - "it's a built-in object with triggers you can't access" is the answer I was worried I'd hear.