Forum Discussion

JoseAGomes's avatar
JoseAGomes
Community Member
3 days ago

Player controls

Hello...
I have an interactive video and I want the controls from the player to show.
Play/pause, captions, volume and seek bar.
What I don't want is restart/replay button because it will mess up my variables.
Is there a way to hide that replay button?
Or can I control it somehow.
If I go to some stage that a variable changes, if the user clicks the replay and goes back to the beginning, that variable is already used, and it will not work when it is supposed again.
Any thoughts?

 

  • hotneon's avatar
    hotneon
    Community Member

    Try execute Javascript in the slide master with the following code:

    document.getElementById("reset").classList.add("hidden");

    • JoseAGomes's avatar
      JoseAGomes
      Community Member

      I have reset all the variables with javascript, so each time the user clicks replay the course will restart.
      So I'm guessing that he won't be doing that often once he realizes he has to start all over again...