Forum Discussion
How to Remove Only Certain Playback Speed Options (e.g., 1.75x and 2x) from the Storyline Player?
- 5 months ago
Hi Haseeb!
Create a trigger that execute this javascript when slide start:const divs = document.querySelectorAll('div[data-speed="2"], div[data-speed="1.75"]');
// Loop through the found divs to hide their parent li element
divs.forEach(div => {
const li = div.closest('li');
if (li) {
li.style.display = 'none';
}
});
The speed options (2 and 1.75) will be hidden.
Hi Haseeb!
Create a trigger that execute this javascript when slide start:
const divs = document.querySelectorAll('div[data-speed="2"], div[data-speed="1.75"]');
// Loop through the found divs to hide their parent li element
divs.forEach(div => {
const li = div.closest('li');
if (li) {
li.style.display = 'none';
}
});
The speed options (2 and 1.75) will be hidden.
Hello! Thank you for this very useful part of code.
Maybe you could also advise on a similar thing - how to replace the default Playback Speed values? I have a course where 0.75 already sounds way to slow with lower values being not usable at all :-(
It would be great to have, like 1.5, 1.25, 1, 0.9, 0.8 so learners could precisely adapt the TTS pace to their needs.
Related Content
- 3 months ago
- 8 months ago
- 9 months ago