I'm a bit stuck with this problem and I don't know if anyone else has had this same issue.
But I basically want the user to pause/resume the timeline in two ways:
Clicking the player play/pause button.
Clicking on the video.
I can't seem to get these two methods to work together as it seems you need some way of tracking whether the player is paused or playing (a variable) but you can't control that variable with the built-in play/pause buttons.
I've tried a few solutions but no matter what if you alternate the two play/pause methods then they eventually fall out of sync with one another and you have to click twice on a few occasions to get the required action.
You could try using a hot spot to cover the video and the play buttons, so that in actuality, they are really clicking on the same thing each time. Add a T/F variable and use the hotspot to toggle that variable. The pause and play video triggers would happen when Variable Changes with conditions.
Thanks for the tip but unfortunately it's what I'm already doing.
When I say player play/pause button I mean the built-in storyline player, not the video controls so there is no way of tracking (or adjusting a variable) when it is clicked.
It's disappointing because the only workaround I can think of is to simply mask the video not be able to click/tap the video to pause/unpause.
Did you ever end up finding a solution for this? I am trying to figure out something very similar. For accessibility reasons we have programmed an auto-play on/off for all media. For videos, users are asked to either press on the video (actually an image that acts as a button over video) or press on the player's play button to view, unless they have selected auto-play On in which case the video starts automatically.
When testing this out however, the only way to play the video is to click on our created Play button, the play button on the player (storyline player not video controls) does not work.
I'm hoping to get both these options available for video control!
Hopefully you have found a solution that you can share.
Hi Leslie. Unfortunately, the example you give does not work. If a user clicks the play button on the timeline and not the video, it immediately gets out of sync. I'm trying to make my video play when they click the play button on the controls OR the video itself. That does not seem possible as far as I can see, but I could be missing something.
It sounds the video and seek bar aren't syncing after pausing the timeline! Would you mind sharing which version of Storyline you're using?
Also, I think enlisting help from our Support Engineers will help you get the answers you need. Feel free to use this link to connect with one of our Support Engineers.
12 Replies
You could try using a hot spot to cover the video and the play buttons, so that in actuality, they are really clicking on the same thing each time. Add a T/F variable and use the hotspot to toggle that variable. The pause and play video triggers would happen when Variable Changes with conditions.
Hi Ron,
Thanks for the tip but unfortunately it's what I'm already doing.
When I say player play/pause button I mean the built-in storyline player, not the video controls so there is no way of tracking (or adjusting a variable) when it is clicked.
It's disappointing because the only workaround I can think of is to simply mask the video not be able to click/tap the video to pause/unpause.
If you use the player play/pause and function on the slide will create confusion with the stock control.
The majority of the courses I build do not use the stock controls for this reason.
Would be nice to have a variable exposed for play/pause.
Cheers Phil, just as I thought...no way to do it then!
It's probably been done before but I might put in a feature request to have access for the player play/pause variable.
I may have misunderstood what you are trying to do. I have attached the solution that I described which seems to work as I understood your need.
I think James is using the player play/pause as well which means at some times you need two clicks
Yeah, might have not been the best explanation on my part!
Phil is right, I mean using the player controls not video controls.
makes sense - I assumed that you were referencing the built in Video play controls.
Hi James,
Did you ever end up finding a solution for this? I am trying to figure out something very similar. For accessibility reasons we have programmed an auto-play on/off for all media. For videos, users are asked to either press on the video (actually an image that acts as a button over video) or press on the player's play button to view, unless they have selected auto-play On in which case the video starts automatically.
When testing this out however, the only way to play the video is to click on our created Play button, the play button on the player (storyline player not video controls) does not work.
I'm hoping to get both these options available for video control!
Hopefully you have found a solution that you can share.
Thanks :)
Hello Jean-Francois and welcome to E-Learning Heroes :)
Thanks for sharing what you would like to see in your project.
I'm curious if the attached sample is similar to what you may be looking for.
I used a layer to create the initial 'pause' and after that, the built-in features of the video and slide can work together.
Hi Leslie. Unfortunately, the example you give does not work. If a user clicks the play button on the timeline and not the video, it immediately gets out of sync. I'm trying to make my video play when they click the play button on the controls OR the video itself. That does not seem possible as far as I can see, but I could be missing something.
Hi Joe!
It sounds the video and seek bar aren't syncing after pausing the timeline! Would you mind sharing which version of Storyline you're using?
Also, I think enlisting help from our Support Engineers will help you get the answers you need. Feel free to use this link to connect with one of our Support Engineers.
This discussion is closed. You can start a new discussion or contact Articulate Support.