pause and play button

Apr 17, 2019

Hi. I have what would seem to be a simple problem. I have made a video player with play, pause, and stop buttons. These buttons control a video on the same base layer. The problem is with the pause button. I have managed to get it to pause and play once, but I can't seem to go past that. I'm guessing it's a reset variable problem. Please help!

1 Reply
Walt Hamilton

Try this:

1. I covered the pause button with a circle, filled it, and set its transparency to 100%.

2. I copied the normal state of the circle, and named it Selected. (If you want it to look different while the video is paused, change the selected state.)

3. I added a trigger to pause the video when the circle is clicked if the state of the circle is selected.

4. I added a trigger to play the video when the circle is clicked if the state of the circle is not selected. (That is more reliable than using "if state is normal", because selected sometimes thinks it is a normal state).

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