Forum Discussion
BernhardRupp
3 years agoCommunity Member
Pause/Stop and play videos in SL360 by using the space bar
Dear Storyline-Fellows,
I am currently looking for a way to pause/stop and play a video by pushing the space bar on the keyboard. Apparently that works after navigating/tabbing to the play/pause-b...
MariaCS
3 years agoStaff
Hi, Bernhard.
Thank you for reaching out!
While not a current feature of the video control options, you can create your own trigger for playing and pausing a video using the spacebar.
Since you will be using the same key for both actions, you need to tell Storyline when to pause and when to play. You can do that by toggling a True/False variable:
After creating the variable, add three triggers connected to pressing the spacebar:
- Play the video when the variable is True.
- Pause the video when the variable is False.
- Toggle the variable.
Preview:
I hope this helps!