I have completed my storyline project and am now trying to set my triggers to make it so my viewers are unable to click to the next slide until the audio has completed. Is there an easy way to do this?
Assuming you are using custom navigation buttons, you can place a hotspot on top of the next slide button for as long as your audio plays, or adjust the start point of your "Next" button to appear after the end of your audio in the timeline.
A third way would be to set the initial state of your next button to "disabled" and then create a trigger in the form of "Change state of Next button to Normal when media audio X completes". In this case it may also be nice to provide some feedback in the form of a caption, in case the Next button is pressed before audio completes.
My next button is simply part of my player so have no way of adding a hot spot to it and it is not a part of the timeline because of this so I can't control when it appears. Any other thoughts?
Well, in that case you should probably go with the following steps:
1) Create an element off-screen (any element, for example a button or a textbox) and make it enter and dissapear at the same time as your audio. 2) Create a trigger that will "Change State of Element X to hidden when timeline of Element X finishes). 3) Modify the player trigger for the next button by adding condition (if Element X is equal to hidden).
Not as "clean" maybe, but it does the job.
As with my previous answer, you could optionally create an extra caption, only this time you have to add condition "if Element X is equal to Normal).
You can add an off screen button to a slide master - and it will only apply to all slides if they're using that master. If you're having difficulty with that, are you able to share your .story file here? If you'd prefer not to post it in the forums you can also submit it as a Support case.
Only submit it if you need help, but otherwise it sounds like you've chosen a different path. Right, it'll only add it to the individual layout within the slide masters that you choose.
I wanted to do the same thing. Well, actually I didn't WANT to, but the decision maker did.
I ended up converting all of my audio files to swf files and inserting the video into the slide. I checked the Show Video Controls options and put the video seek bar into the slide. I resized the seekbar to fit across the bottom length of the screen. I inserted a shape over the entire seekbar and set the transparency to 100% so the user would not be able to skip forward on the seekbar. The could however still use the play/pause. I used the true/false variable. Original state of slide is set to false. Only changes to true after the media completes. If the user clicks the next button (in the player) and the variable is false, a layer pops up and says they must listen to all of the audio before continuing.
It was VERY tedious, but it's what the customer wanted because of some state training laws. And it works for that purpose.
If you want a sample of the course I can send you one. Let me know.
Sounds like a lot of good ideas there Jill, thanks for sharing! If you're able to post the .story file here that may be helpful for other community members as well.
12 Replies
Hi Jillian,
There are various ways you can achieve this.
Assuming you are using custom navigation buttons, you can place a hotspot on top of the next slide button for as long as your audio plays, or adjust the start point of your "Next" button to appear after the end of your audio in the timeline.
A third way would be to set the initial state of your next button to "disabled" and then create a trigger in the form of "Change state of Next button to Normal when media audio X completes". In this case it may also be nice to provide some feedback in the form of a caption, in case the Next button is pressed before audio completes.
Hope all this makes sense,
Alex
Thanks Alex,
My next button is simply part of my player so have no way of adding a hot spot to it and it is not a part of the timeline because of this so I can't control when it appears. Any other thoughts?
Well, in that case you should probably go with the following steps:
1) Create an element off-screen (any element, for example a button or a textbox) and make it enter and dissapear at the same time as your audio.
2) Create a trigger that will "Change State of Element X to hidden when timeline of Element X finishes).
3) Modify the player trigger for the next button by adding condition (if Element X is equal to hidden).
Not as "clean" maybe, but it does the job.
As with my previous answer, you could optionally create an extra caption, only this time you have to add condition "if Element X is equal to Normal).
That should do the trick.
Hope it helps,
Alex
Is there a way to add on off-screen button to a slide master?
I've tried adding it to the Slide Master but it does not apply to all slides.
Hi Erika,
You can add an off screen button to a slide master - and it will only apply to all slides if they're using that master. If you're having difficulty with that, are you able to share your .story file here? If you'd prefer not to post it in the forums you can also submit it as a Support case.
Hi Ashley - I've decided I don't want to add the button to the slide master after all, but I can submit a support case anyways if you'd like.
I retried adding a button to a slide master, but it doesn't add it automatically to the layouts under that slide master.
Hi Erika,
Only submit it if you need help, but otherwise it sounds like you've chosen a different path. Right, it'll only add it to the individual layout within the slide masters that you choose.
I wanted to do the same thing. Well, actually I didn't WANT to, but the decision maker did.
I ended up converting all of my audio files to swf files and inserting the video into the slide. I checked the Show Video Controls options and put the video seek bar into the slide. I resized the seekbar to fit across the bottom length of the screen. I inserted a shape over the entire seekbar and set the transparency to 100% so the user would not be able to skip forward on the seekbar. The could however still use the play/pause. I used the true/false variable. Original state of slide is set to false. Only changes to true after the media completes. If the user clicks the next button (in the player) and the variable is false, a layer pops up and says they must listen to all of the audio before continuing.
It was VERY tedious, but it's what the customer wanted because of some state training laws. And it works for that purpose.
If you want a sample of the course I can send you one. Let me know.
Sounds like a lot of good ideas there Jill, thanks for sharing! If you're able to post the .story file here that may be helpful for other community members as well.
I can do that. I will have to cut it down to sample size. Right now it's ridiculously long. I'll try to get that up here today.
Here's one section of the course.
Thanks Jill for sharing - it works really well and ensures the learner has to listen to everything.
This discussion is closed. You can start a new discussion or contact Articulate Support.