Forum Discussion
ElizabethEva592
1 year agoCommunity Member
Remove Playback Speed Option on Video Controls
Hello Heros!
I am wondering if there is a way to remove the playback speed button on the video controls. Our courses are gated by time, and some learners are watching the videos at 2X, which is me...
Nedim
1 year agoCommunity Member
Hi Elizabeth,
That can be done only with Javascript. Execute Javascript when the timeline starts on this slide: document.querySelector('.video-playback-speed').style.display = 'none';
tweline
1 year agoCommunity Member
Nedim do you by any chance also now the Javascript code to prevent the learners from watching the video full screen? So the most right symbol on the video controls?
- Nedim1 year agoCommunity Member
This line of code will hide the video full screen icon.
document.querySelector('.video-full-screen').style.display = 'none';
Related Content
- 2 months ago
- 7 months ago
- 11 months ago