Forum Discussion
Variable Playback Speed
- 2 years ago
Hello Everyone!
I'm happy to share that we have released Storyline 360 version 72 (Build 3.72.29654.0).
Included in this release is a new feature where you can let learners explore at their own pace by choosing a course playback speed between 0.25x and 2x.
Now all you need to do is update Storyline 360 in your Articulate 360 desktop app on your computer. You'll find our step-by-step instructions here.
Please let us know if you have any questions by reaching out to our Support Engineers directly.
Have a great day!
Gsap is build into Storyline360, ( not in 3 ) so you can use gsap code anywhere. To speed up audio you need to select the proper audio and change the playbackRate.
Something like this:
If you code it like this...var allAudios = document.getElementsByTagName("audio");
it will get all audio on a page.
However then you have to loop the collection of elements you found like this...for (var i = 0; i < allAudio.length; i++) {
allAudios[i].playbackRate = 2.0;
}
If you want to speed up a single audio file...its like this
allAudios[1].playbackRate = 2.0;
@Math Thanks for this code! I have implemented in my project and it seems to work well when I publish for web and run it on my local machine. However when I put it on the web server it does not work....I am sure that I am missing something fairly obvious and easy, but cannot figure out what it might be. Could you offer any guidance?
- MathNotermans-93 years agoCommunity Member
For sure i can help. Its the audio speedup ? Do check your console for errors. Most likely is that your code cannot find the proper audio-element. If you can't find and fix it, add a sample of your Storyline here and i will doublecheck.
- MartyRiesberg3 years agoCommunity Member
@Math, thanks for the offer. This is really frustrating to me that I cannot get it to respond as you suggest. I am sure it is user error on this end but cannot find it. At my wits end!!
- MathNotermans-93 years agoCommunity Member
So the error you had in it... referencing 'allAudio' instead of 'allAudios'.
One character makes all the difference.
In the attached zip the fixed Storyline is... and added a captured video showing you how to debug things like this yourself, so you can quickly fix it yourself next time.
Regards,
Math