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!
Playing around with the code & positing it to SCORMCloud, I confirmed what Marty has found — this works locally, but not being served. I know why now too, but I don't know exactly how to fix it.
Math's code is getting pointers to the audio file(s) available into an array by using getElementsByTagName. I looked at the length of this array being created & filled. Locally it returns one index, which will make his code work. However, when posted in SCORMCloud, it returns zero indexes, which means that the array doesn't get filled, and subsequently there is no index (connection) pointing to the audio file for the code to work with.
I think what is happening is that locally, Chrome is allowing a call to the "document" object to also work in the iframe child object. Or somehow the connection is being made so that the code works. When posting this code to an LMS, the LMS is being more strict in the parent-child relationship, which breaks this connection. Of course I could be totally wrong in this assumption, but I'm not wrong in that for some reason the use of getElementsByTagName is not working as it should in an served setting.
Sorry I couldn't be more helpful!
- MathNotermans-93 years agoCommunity Member
You are probably correct Mark. Do try a more direct selector. That might work.
In the console the audio on Marty's sample is stored at...
https://media.electricaltraining.info/Story/Example/story_content/5yHOuVRTdb6_44100_48_0.mp3
An approach that might work is looping all elements on a page... checking if one is a HTMLMediaElement, and if yes...you can work with that....
Or create a custom HTMLMediaElement then you can control it at will... - MartyRiesberg3 years agoCommunity Member
Mark and Math,
I have appreciated your guidance and have continued on my journey...I have found the element that I need in the data.js file,
[{"kind":"asset","id":0,"width":0,"height":0,"duration":48532,"fileSize":291184,"url":"story_content/5yHOuVRTdb6_44100_48_0.mp3"}],I cannot, however, find a way to select it with JS. I continue to get either empty Node Lists or HTML collections.Maybe with this information you may be able to point out how to select this object? From there it seems the rest is pretty straight forward.