Skip to main content
Inspiring
August 19, 2015
Question

Triggered audio stops playing

  • August 19, 2015
  • 3 replies
  • 2155 views

I'm having an issue where audio triggered via an advanced action is stopping after a few seconds. I have multiple slides that all use the same setup for advanced actions on buttons, but the issue doesn't occur all the time. I can't track the problem down to any one specific button because the issue affects different buttons on different computers and doesn't always occur.

To keep track of the buttons that have been pressed I’ve setup a corresponding variable that is then changed inside the advanced action. The way the slides are scripted is pause at a set time, trigger an audio file when the user clicks on a button, and when all the buttons are pressed show a continue or next button. For each button I have the same basic conditional advanced action:

DECISION 1

IF

1 is equal to 1

THEN

Assign v_Strategy01 with 1

Play Audio <audio file name>

DECISION 2

IF (all conditions are true)

v_Strategy01 is equal to 1

v_Strategy02 is equal to 1

v_Strategy03 is equal to 1

v_Strategy04 is equal to 1

v_Strategy05 is equal to 1

THEN

Show StrategiesContinue.

If the user is on a slide where the issue exists, their experience will be pressing one of the buttons, the audio will start to play but then stop after a few seconds.  Pressing the button again and the audio will play for a different duration and then stop. Clicking the button again and the audio may or may not play at all.

When I’ve tested a file after publishing and posted in my LMS, I can move through the entire file and never have any glitches, even with testing multiple browsers. Another user can check the file but run into the problems. I can then re-open the file and then I’ll have the issues where I didn’t have them before.

Does anyone know what’s going on and/or how to fix the problem? I just did a clean install of Windows 10, installed Captivate 8, published a file and it’s having the same issue so it can’t be a preferences problem. I’m just hoping it’s nothing in the file.

    This topic has been closed for replies.

    3 replies

    Participating Frequently
    November 10, 2015

    I am experience the same issues in Captivate 9. I have an audio file that is triggered in an Advanced Action, "Play Audio". It is inconsistently stopping when I publish to HTML5.

    CozmiconeAuthor
    Inspiring
    November 6, 2015

    Additional update. The problem also extends to unchanged buttons on the same slide, but the problem only exits on slides where the audio has changed.

    R_H__
    Inspiring
    November 17, 2015

    We are also having the same audio problems (CP9). I have tested on multiple mobile devices and browsers, but to no success. I have run out of ideas on ways to change problem pages and test if it makes a difference.

    One thing I have noticed, that seems consistent. If you make sure not to click on another button with audio until the first one playing has completely finished, then the audio files normally always reach the end without cutting out. However, as soon as click a button with audio before a previous playing one has finished, that's when the audio cutting out starts to appear.

    My experience on desktop browsers is different. Files never cut out, but instead rather than starting each audio file from the beginning, the audio file always resumes from where you left it when clicking on another button.

    Would really like a solution for this, fed up going round in circles!

    RodWard
    Community Expert
    Community Expert
    November 17, 2015

    I think you may simply be dealing with one of those areas where mobile devices and desktop devices work very differently.

    Many mobile devices do not allow more than one audio clip to play at a time.  In Flash SWF content there can be any number of audio clips playing simultaneously.  But HTML5 devices don't usually work that way.

    CozmiconeAuthor
    Inspiring
    November 6, 2015

    I dislike bumping my own posts, but the problem exists in Captivate 9 as well and I'm at a loss as to what I can do to alleviate the issue. The only common thread I can think of is that I've updated the audio files being triggered.

    When I was using Captivate 8, I had to make a few edits to the audio so I re-saved the files and updated them in the library. The updated files were then being played, but I kept running into the stop problem. Now I'm in Captivate 9 and in thinking about the problem it seemed somewhat reasonable that since the length of the audio file changed, that somehow Captivate wasn't dealing with the new length correctly therefore it was stopping playback as a result. So, for my new project I edited the file, saved it with a new name, added it to my library, and then selected the updated file to be played in the advanced action. Unfortunately, this is still having the same issue now.

    The problem, in both versions of Captivate, only appeared after updating the audio file or changing the audio file that's being played. Prior to this, there wasn't an issue and it worked exactly as it should.