Forum Discussion
AndrewTeasda876
7 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?
TomKuhlmann
7 months agoStaff
I'm not sure how you're designing the slide and at what point they click the play/pause button or what happens if they click it multiple times.
- One option is to use a timeline trigger.
- Create a trigger to pause the timeline when the slide starts.
- Then when the user clicks the play button the timeline resumes.
- Add a trigger to execute JS when timeline reaches .1 seconds.