Forum Discussion
ElizabethEva592
2 years 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
2 years 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
10 months 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?
- Nedim10 months agoCommunity Member
This line of code will hide the video full screen icon.
document.querySelector('.video-full-screen').style.display = 'none';
Related Content
- 5 months ago
- 10 months ago
- 12 months ago