Digging in the CSS, I saw that by doing $('button').hide(), both replay and play/pause are hidden.
I still don't know how to only hide the play/pause button, but because I did not want any button to be displayed I'm happy with that solution.
If it can help anyone, that's cool.
One more thing then : does anyone know how to prevent the seekbar to be dragged by the user? I add that I want that on-demand, then most probably using a piece of JS.
6 Replies
You can use a javascript trigger for this.
To hide it:
document.getElementById("reset").style.display = "none";
To show it:
document.getElementById("reset").style.display = "block";
Hi Russell,
Thank you for your response.
I am not able to hide the Replay button from the Seekbar after using the javascript.
I put the javascript to be run when timeline starts.
Also tested the sample files shared, but there also the reply button dont get hide when I hit the Hide button.
I'm using the latest version of Storyline 360.
This will only work for HTML5 output.
Perhaps we are talking about two different buttons here.
Here are two screen shots. One before clicking the hide button and one after.
Hi there,
Thanks Russel for your post.
Do you know by any chance the id of the "play/pause" button?
I'm desperately trying all names to hide it, but doesn't work.
Here's what I do to hide the "replay" button : I set that JS $('button.btn-reset').hide(); at the very beginning of my master slide.
Can't find a way to do the same with the play/pause one...
Thanks!
Olivier
I've finally managed to find a way.
Digging in the CSS, I saw that by doing $('button').hide(), both replay and play/pause are hidden.
I still don't know how to only hide the play/pause button, but because I did not want any button to be displayed I'm happy with that solution.
If it can help anyone, that's cool.
One more thing then : does anyone know how to prevent the seekbar to be dragged by the user? I add that I want that on-demand, then most probably using a piece of JS.
Thanks!
I just confirmed that the following JS works to hide the Play/Pause button:
document.getElementById("play-pause").style.display = "none";
This post was removed by the author