Skip to main content
michellek49
Known Participant
March 8, 2018
Answered

Forced Navigation with audio and button

  • March 8, 2018
  • 1 reply
  • 299 views

I have one button on a slide that I want to play audio when the user clicks on it. I have the Next button hidden until the audio button is clicked on. When the button is clicked, the Next button will pop up immediately even though the audio hasn't finished playing yet. Is there any way to make it to where the audio finishes before the button pops up? In advanced actions I have the delay next action set to the number of seconds the audio clip is. Is there something I am missing?

This topic has been closed for replies.
Correct answer Lilybiri

It is never a good idea to put two interactive objects on top of each other, especially if you want HTML output.

Which version do you use? Since you talk about using a button to start playing an audio clip, I suppose you use the command 'Play Audio'? That means you cannot use the timeline to time the next button as is possible with slide audio. If you are on CP9 or CP2017 you can use the command 'Delay Next action by....'.  This could be the workflow:

  1. Put the Next button on the slide, but not in the same location as the Play Audio button.
  2. Set the Net button to 'Invisible in Output'.
  3. Create an advanced action with these commands:
    1. Play Audio
    2. Delay Nex Actions by.....                where you enter the duration of the autio clip
    3. Show Next Button

1 reply

Lilybiri
LilybiriCorrect answer
Legend
March 8, 2018

It is never a good idea to put two interactive objects on top of each other, especially if you want HTML output.

Which version do you use? Since you talk about using a button to start playing an audio clip, I suppose you use the command 'Play Audio'? That means you cannot use the timeline to time the next button as is possible with slide audio. If you are on CP9 or CP2017 you can use the command 'Delay Next action by....'.  This could be the workflow:

  1. Put the Next button on the slide, but not in the same location as the Play Audio button.
  2. Set the Net button to 'Invisible in Output'.
  3. Create an advanced action with these commands:
    1. Play Audio
    2. Delay Nex Actions by.....                where you enter the duration of the autio clip
    3. Show Next Button
michellek49
Known Participant
March 8, 2018

Thank you!! I am using CP2017.

If I wanted to put more than one button on the slide and have each play a different audio clip, would I still follow the same actions as above for each button?

Lilybiri
Legend
March 8, 2018

What do you want to happen in that case? Do they have to listen to all the audio clips before the Next button appears, or is it sufficient to listen to one audio? If you use the approach in my first answer, the second scenario will happen. If you want them to listen to all clips before that Next button appears, you'll have to track the click on each button with a treacking variable and have a conditional action.