Forum Discussion
How do I limit audio to play just once on first visits to slide?
I have created a button slide that navigates user to an interaction then I need user to go back to button slide to press a second button Which takes them to another slide . How do I play audio when user first visits the button slide the and then stop audio on every subsequent visit after.
34 Replies
- iTechLibrarian, - There's no stock way to accomplish this similar to Storyline, however, a little slide trickery in Studio could accomplish it. - Slide 01: Contains your hyperlink to Slide 02. - Slide 02: Contains the audio file. - You'd have to lock down the nav so they can't progress until that slide's timeline has been completed. - Mike 
- iTechLibrarian-Community MemberHi Mike, As always, thanks to you guys for such a quick response! I don't want Slide 01 to actually advance or change. I just want the audio messsage to play when the hyperlinked button is clicked. I'll need to create a Slide 02 for the audio file to "sit" and lock it as well? Create a Next button (on Slide 02, hyperlinked to Slide 03 or next slide) that appears AFTER the audio track time frame, correct? Close?  
- LeslieMallare1Community MemberI was trying to the exact same thing as described above. I had a variable set to "false" that would allow the audio to play on a layer the first time the menu slide was entered. I would then set the variable to "true" which meant the audio wouldn't (shouldn't!) play when the menu slide was re-enterd. I even displayed the variable on the menu slide and could see that it was true but the audio still played. As mentioned by Bruce Graham, above, the following also needs to be done: Hide the layer when the audio completes, (or you can use the gear to close layer when timeline ends) It seems like it should be more clear cut and not play based solely on the condition of the variable but I guess that's something unique to Storyline. At least now it works! 
- iTech. - Correct. - What I'd do is make slide 2 look identical to slide 1 and hide it in the menu. This way it doesn't look like the course is advancing. Then on slide 2, have your link to slide 3. - Mike 
- iTechLibrarian-Community MemberTHANK YOU! 
- Hi Teresa! - This thread is quite dated and I'm not sure that Tom is still subscribed here, but states are not going to remain if you are resetting the slide to the initial state. - Do you have a .story file that you need assistance with? That may help us better understand. 
- IndraniSen-e083Community Member
- Hello Indrani - Looks like you got some assistance here :) 
- RhondaLemmon-4fCommunity MemberHI All, I have an assessment/activity with audio narrated instructions. I am trying to only allow the learner to be able to try the activity 2 x before they get a sorry response. and I only want the audio instructions to play the first time the learner comes to the slide, don't want it to repeat when the slide returns to its initial state. have to do initial state, since this is a drag and drop activity and I want the items/terms to go back to where they started. so, this is where I am. can get only one of the variables to work at a time, not both. either the audio will only play once and then stop, but it doesn't stop going to "try again". or I can have the variable work where the learner can only try 2 times and then they get the sorry layer. each time they return to the initial state the audio plays, which can be annoying. Question... can you have two variables which will work together? stop the audio after the instructions play once, and only allow the learner 2 tries at the activity, oh, and it has to return to the initial state so the drag and drop terms return to their initial state. Thanks, Rhonda 
- IndraniSen-e083Community MemberI think, you can have a variable, which changes to 'False' when an action is triggered. If you share the file, I will be able to get into details. Or even a 'stop audio' with a start of a click. 
Related Content
- 19 days ago
- 10 years ago
- 5 months ago