Hide Video Speed Rate

bmazy6337
bmazy6337 Community Member Posts: 35 ♪ Opening Act ♪

Hello all!!!!

I'm having an issue..

I want my students to be able to view the embedded video fullscreen but need to disable the speed rate, so they have to watch it a 1x not 1.75x

I can turn the fullscreen or other properties on or off with javascript like this one

document.getElementsByClassName("mejs-fullscreen-button")[0].style.visibility = "hidden";


But can't seem to find the property that hides this element in the controls.


Any advice?


Thanks!!!

B

Comments

  • jholland
    jholland Administrator, Rockstar Manager Posts: 114 eLearning ROCKSTAR Admin Team

    Hello B, you can use CSS to make the speed control disappear in Lectora Desktop:

    .mejs__speed-button { display:none; }

  • bmazy6337
    bmazy6337 Community Member Posts: 35 ♪ Opening Act ♪

    Thank you I'll try it now!!!! :)

  • bmazy6337
    bmazy6337 Community Member Posts: 35 ♪ Opening Act ♪

    YOU ROCK MY FRIEND!!! Thank you soooooooooooo much!!!