Disable Pause/Play in HTML5?

Aug 14, 2017

For timed questions, we disable pause/play and replay functions in the frame.xml file.  This allows the seekbar to be used as a read-only visual timer (see attached).  This works for Flash, but not for HTML5. What file needs to be changed to remove pause/play/replay functionality in HTML5?

3 Replies
Gerald Sale

Hi Beth,

Try these:

1. Hide play/pause button on desktop.

Add the following CSS to the slider’s Custom CSS section.
1

2. Prevent Video from being clicked.

Add the following CSS to the slider’s Custom CSS section. This also prevents the user from right-clicking the video where additional video controls are normally available.2

3. Disable native play button on iPhone/iPad.

Add the following CSS to the slider’s Custom CSS section.

3

Hope it helps!

Thanks,

 

 

 

 

Gerald Sale

Hi Beth,

Please disregard my first post. I am having issues with my above resolution as it is not working on SL but working on HTML.

But I found another way to disable Play/Pause and replay button. You also need to edit the frame, but this time, you are going to the frame of HTML. Just change the value of "pause, play" and "replay" to false.

See below output. Published through HTML.

Thanks,

This discussion is closed. You can start a new discussion or contact Articulate Support.