Forum Discussion
Storyline Video Custom Controls Not Working
- 2 months ago
Try using a single Play/Pause button that toggles between two states, rather than separate buttons. You can use the built-in "Selected" state to handle this:
- The Normal state should show the Pause icon
- The Selected state should show the Play icon
Since "Selected" is a built-in state, Storyline will automatically toggle between these two states when the button is clicked.
You can then use triggers to pause or resume the timeline based on the button's current state. For example:
- When the button is clicked,
→ If state = Selected → Pause timeline
→ If state = Normal → Resume timeline
This keeps the interaction simple and clean with only one toggle button controlling both actions. Example trigger below:
I've also attached my version of the setup for you to review.
Open to feedback—please feel free to tear this apart!
What I expected (and what has worked in previous builds) is that when you click rewind, the button states remain unchanged: play stays hidden and pause stays visible—unless you’ve paused first, in which case play becomes visible and pause hides.
What’s happening now is that play becomes visible immediately after clicking rewind, and I can’t figure out why. I’ve implemented this before without issues, so I’m genuinely confused.
If I’m missing something obvious, please point it out!
Try using a single Play/Pause button that toggles between two states, rather than separate buttons. You can use the built-in "Selected" state to handle this:
- The Normal state should show the Pause icon
- The Selected state should show the Play icon
Since "Selected" is a built-in state, Storyline will automatically toggle between these two states when the button is clicked.
You can then use triggers to pause or resume the timeline based on the button's current state. For example:
- When the button is clicked,
→ If state = Selected → Pause timeline
→ If state = Normal → Resume timeline
This keeps the interaction simple and clean with only one toggle button controlling both actions. Example trigger below:
I've also attached my version of the setup for you to review.
- DanielJackso0422 months agoCommunity Member
Genius...thanks Nedim.
Such a simple and clean solution...I've used SLine for years (on and off) and never thought to just use states. Thanks again mate, much appreciated.
Related Content
- 7 months ago
- 7 months ago
- 9 months ago
- 10 years ago