Forum Discussion
SarahDavis-2db7
2 years agoCommunity Member
Playback speed variable
Hi all! I'm very excited that the player now allows for the audience to adjust the playback speed of a course. However, I'd like to enable this same functionality using completely custom navigation....
TanyaThampip494
Community Member
I am looking to do the same thing but I am not familiar with javascript or variables. Can someone please help point me in the right direction or share the steps from the beginning? Thank you so much in advance!
TanyaThampip494
2 months agoCommunity Member
I found out how to do this eventually. Here are the steps:
- Go to the first slide on storyline.
- Go to trigger panel, click "Create a New Trigger." It's the button that looks like a piece of paper
- Select "Execute Javascript" under Action.
- Click on JavaScript.
- Copy and paste the following:
DS.appState.setPlaybackSpeed( value );
var value = DS.appState.getPlaybackSpeed();
I wanted to speed up the whole training by 1.25. Example:
DS.appState.setPlaybackSpeed(1.25);
var value = DS.appState.getPlaybackSpeed(); - The rest of the settings I used was "When the timeline starts on this slide."