Playing media file AFTER other media on slide completes
I have a screen where the learner would click on a button to hear audio. There are 7 different audio files, on different layers.
The slide begins with introductory audio that explains what to do, i.e. "Click on the buttons to hear more.".
It also has an ending audio file that should play AFTER the buttons have been clicked and the audio for them finishes.
Two questions.
How do I keep the buttons inactive until after the intro audio finishes.
How do I have the ending audio file play only AFTER the 7 buttons have been clicked and their audio finishes.
I've tried having it play after all the button states change to Visited but it begins playing the final audio at the same time as the audio of the last button that was clicked.
I've also tried using variables to have them change to True once the audio or timelines on the different layers has finished. But the final audio never played.
Looking for ideas/help. Any would be appreciated.
17 Replies
You could put the final audio on a separate layer and set a trigger to make that layer visible when the last audio finishes (media complete).
Thank you Brent.
Question on that. Since the audio can be taken in any order, how would I set up the trigger? I've tried setting the buttons to only show as Visited once the media completes but that didn't work, although I could be doing something wrong.
Set the initial state on each button to disabled. Add a slide trigger to change the state of each of these buttons to normal once the media completes.
Thanks Nancy but how do I add a slide trigger? I see how to add an Object trigger but can't find a way to add a slide trigger.
Katherine:
I think this example does what you want.
I appreciate the link but it is still not working. The button states change to Visited when they are clicked, not AFTER the audio finishes playing, so the audio for the last button clicked and that on the last layer both play at the same time.
This has been my issue since the buttons can be clicked in any order.
I tried to upload the file but cannot for some unknown reason.
Apparently the upload worked.
Here is one option to do this. For each layer, I added a trigger that check if all six (maybe I'm blind, but I only saw six buttons, not seven) buttons when the layer's audio file completes. I also deleted some triggers of variables being set and the state of buttons being changed to Visited. Since Visited is a built-in state, it is automatically triggered when a button is clicked. Give it a try and see if that's what you want.
Thank you Michael! That worked. I was trying to create those triggers only from the main layer, not on all the individual layers but I see the logic in what you did.
Thank you again.
Michael, I hate to bother you again but could you look at the attached file and tell me what I did wrong in the last slide? I'm trying to replicate what you did above.
As soon as I posted, I figured it out. The timeline on the layers was not long enough for the media to complete, so therefore, the media never finished and could not trigger the viewing of the last layer.
You beat me to it, I was just about to post a new file
Oops sorry, I just saw your question now, but it looks like you got the answers you needed.
Good afternoon. I need suggestions and help getting the audio, Markers, and audio triggers to function as programmed.
I am using Markers instead of adding layers for each. I did the "Play Media" trigger when all are "Visited" without achieving what I expected, based on what worked for me before. Added the "Click Next" audio file as a layer and still not getting the desired results while using Markers, which are basically buttons/shape. I have done it with buttons, hotspots, etc.
My goal is: Let the learner go through the main content of the screen; then, cue them to click each of the markers to access additional information. After visiting all markers, have the Click Next audio play. That will allow them to move to the next slide once the click next on cue.
I am all ears. Thank you in advance.
Hi Eydie!
Triggers are the right place to start! In this case, I would add a trigger that says "Play Media when Timeline Starts if (each of the markers) is equal to visited". We can offer more specific advice if you want to share your file! You can use the "Add Attachment" button in this discussion to do so.
I have used triggers form the beginning. Have tried different approaches and still do not get the audio to play as programmed. I am hesitant to share my file because this is for my employer - a financial institution.
Hi Eydie, open a support case with Articulate and share the file privately.