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-button of the video player which storyline provides. But is there any possibility to make this work without navigating there beforehand with the Tab-Button? Just like I am watching a YouTube-Video and it automatically recognizes that I use the space bar for pausing/playing the video?

Thanks for your help in advance.

Best regards

Bernhard

1 Reply
Maria Costa-Stienstra

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:

Windows 10 (1) 2022-06-23 at 3.59.43 PM

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.

Windows 10 (1) 2022-06-23 at 4.01.16 PM

Preview:

Screen Recording 2022-06-23 at 04.03.29 PM

I hope this helps!