Forum Discussion
Javascript for audio mute/unmute that previously worked is no longer working
Hello,
I am not great with JavaScript, and this is my attempt at creating a custom player.
We needed the ability to jump back x seconds (I plan to make this a variable to adjust the time and update the button text quickly) across multiple slides, and we wanted all the control in one place. The inbuilt player has buttons a bit scattered, and we can't add custom buttons.
The space in the player's middle is for the closed captions text, so it doesn't cover content on the slide.
I have managed to get all the code to keep its settings as we move from one slide to the next, except the mute button. If the user mutes, I want this to stay muted when we go to the next slide. Any help to solve this and tidy up my scripts would be greatly appreciated.
Feel free to use any of this code and set it up for yourselves as well :)
Fiona