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.
Could this be applied to a master slide and work for all slides in the project, or does it need to be applied to each slide?
- Haseeb4 months agoCommunity Member
Hi Hannah, Yes you can put this code snippet in the master slide and it will apply to all the slides.
Related Content
- 3 months ago
- 8 months ago
- 9 months ago
- 7 months ago