Highlighted

Button to appear after audio is done playing

New Here ,
Feb 13, 2019

Copy link to clipboard

Copied

Hey everyone,

I have an interaction that I need the button to appear only after the whole audio has been played. I tried looking for an answer and I can't find anything. Any suggestions are greatly appreciated!

First, hide the next button on enter.

You'll need a conditional advanced action (or shared action) on each of the audio buttons and a variable for each of them.

Variables (all set to zero):

v_btn1Played

v_btn2Played

v_btn3Played

The action will:

1. set the variable for the clicked button to 1

2. To ensure the learner listens to the whole audio, also DISABLE the buttons

3. DELAY the number of seconds that the button's audio plays

4. ENABLE all the buttons

5. Check the other buttons to see if they've been clicked:

IF v_btn1Played is equal to 1 AND

v_btn2Played is equal to 1 AND

v_btn3Played is equal to 1

THEN show the next button

Views

234

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Button to appear after audio is done playing

New Here ,
Feb 13, 2019

Copy link to clipboard

Copied

Hey everyone,

I have an interaction that I need the button to appear only after the whole audio has been played. I tried looking for an answer and I can't find anything. Any suggestions are greatly appreciated!

First, hide the next button on enter.

You'll need a conditional advanced action (or shared action) on each of the audio buttons and a variable for each of them.

Variables (all set to zero):

v_btn1Played

v_btn2Played

v_btn3Played

The action will:

1. set the variable for the clicked button to 1

2. To ensure the learner listens to the whole audio, also DISABLE the buttons

3. DELAY the number of seconds that the button's audio plays

4. ENABLE all the buttons

5. Check the other buttons to see if they've been clicked:

IF v_btn1Played is equal to 1 AND

v_btn2Played is equal to 1 AND

v_btn3Played is equal to 1

THEN show the next button

Views

235

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
Feb 13, 2019

Copy link to clipboard

Copied

Which type of audio: slide audio, object audio or audio started with Play audio? The answer will be different based on the type. Please post a screenshot of the timeline as well.

If you allow revisiting the slide a second time, does this have to be the same sitatuio?


Have a look at:

Play Audio once on First Visit - Captivate blog

BTW have answered same question manyt times, maybe use another 'search' tool ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Feb 13, 2019

Copy link to clipboard

Copied

I have audio on the slide, but then I have three buttons that have audio as well. Those are the ones that Need to played throughout before the Next button appears.If revisiting, the buttons should play the audio and nothing else. Please let me know if this doesn't make sense! I will read your article, too.captivate.JPG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Feb 13, 2019

Copy link to clipboard

Copied

Audio is not attached to the buttons as object audio. Do you use the Play Audio command? You have pausing points at two different times. What are the actions attached to all the buttons? When is the playhead released to see the two button that appear later?

Are you aware of the fact that with the present setup the slide audio can play simulataneously with the audio clip triggered by one of the buttons? If Play Audio is used, and the user clicks quickly a second button, the first audio clip will be stopped.

Can you please explain what you want to happen really, because that timeline shows a lot of problems, that have to be solved before thinking about the Next button to appear later.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Engaged ,
Feb 13, 2019

Copy link to clipboard

Copied

First, hide the next button on enter.

You'll need a conditional advanced action (or shared action) on each of the audio buttons and a variable for each of them.

Variables (all set to zero):

v_btn1Played

v_btn2Played

v_btn3Played

The action will:

1. set the variable for the clicked button to 1

2. To ensure the learner listens to the whole audio, also DISABLE the buttons

3. DELAY the number of seconds that the button's audio plays

4. ENABLE all the buttons

5. Check the other buttons to see if they've been clicked:

IF v_btn1Played is equal to 1 AND

v_btn2Played is equal to 1 AND

v_btn3Played is equal to 1

THEN show the next button

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Feb 13, 2019

Copy link to clipboard

Copied

Dan56, that worked! Thank you.

Lilybiri thank you for your help, too.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Feb 13, 2019

Copy link to clipboard

Copied

But you'll  still have the issues I mentioned. You may ignore them but your learners will have the bad experience.

Try to test while ignoring how you set it up, that is the way the learner will use that slide. They will hear two audio clips playing at once, they'll never have to finish listening to any of the audio clips.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Feb 13, 2019

Copy link to clipboard

Copied

I will be looking into it to see if I can fix the issues. Thank you

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Feb 13, 2019

Copy link to clipboard

Copied

Not with the conditional action and those variables, .... sorry. You don't have to believe me, but have been writing a lot about audio on timelines.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
melofabi LATEST
New Here ,
Feb 13, 2019

Copy link to clipboard

Copied

I truly believe you, and I appreciate your help!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Captivate User Guide
New Group