Skip to main content
Participating Frequently
July 6, 2018
Question

Button audio stops when a second button audio is pressed.

  • July 6, 2018
  • 12 replies
  • 778 views

Hello Captivate Forum -

I'm running into an issue with audio attached to buttons. Here's my scenario,I have several audio buttons on a slide. The buttons work fine upon first click. Press a button and the audio file plays. However, if the same audio button or another audio button is pressed before the previous audio is finished, the audio only plays for a brief moment before it cuts out. The best guess I can come up with is that when the second button is pressed it only allows the audio to play for what the remaining time on the first buttons audio was. Has anyone experienced this before?

I'm running Captivate 9. My buttons are set up as "On Success: Play Audio"

I've tried attaching the audio to the "On Success Caption" as well with the same result.

Here's a real old thread that relates to the problem: Re: I have five buttons with audio attached to each button. When I publish in html5 and test the buttons the audio cuts …

Any help is appreciated.

Mike

    This topic is closed to new replies. Start a new post to keep the conversation going.

    12 replies

    Participating Frequently
    July 6, 2018

    Participating Frequently
    July 6, 2018

    Hi All -

    Thanks for looking into this problem. I've attached a screen shot of a rough looking design where the audio problem happens.

    Basically my button workflow is this: Interactions > Button > (change the style of button to image button) Actions > On Success (attach audio file)

    RodWard
    Community Expert
    Community Expert
    July 6, 2018

    As a suggestion, instead of just having these buttons execute the single action Play Audio, instead use an Advanced Action that allows multiple action lines to be executed via a single button click.  Before the Play Audio action, add the other complementary action called Stop Triggered Audio.

    What I am hoping will happen here is that the Stop Triggered Audio will clear the way for the Play Audio action that comes immediately after it.

    The Stop Triggered Audio action will stop ALL audio files currently playing that were triggered via an Action or Advanced Action.  If there are no audio files playing, it won't find any to stop.  But if there are audio files playing at that moment, then they will be terminated.

    I haven't tested this.  It's just a suggestion for you to try.

    Lilybiri
    Legend
    July 6, 2018

    Sorry, Rod, but Play Audio when repeated automatically executes Stop Triggered Audio for the still playibg clip started with Play Audio. Only when you want one audio clip playing to stop, do you need to use Stop Triggered audio.

    Of course, never hurts to try.

    Lilybiri
    Legend
    July 6, 2018

    How do you play the audio, you talk about an audio button, but doesn't explain that. Is it by using the Play Audio command? Is it by showing a hidden audio object?

    Those buttons have pausing points. Are they all at the same moment (maybe post a screenshot of the timeline)? If you use the simple command 'Play Audio' for your so-called audio buttons, did you uncheck the option 'Continue Playing the project'? Which version are you using? Asking this because before CP9 you couldn't even use a simple action without releasing the playhead.

    Pausing and Audio is a complicated mariiage. Have a look at this interactive movie and you'll understand what I mean:

    Audio and Pausing