Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Audio Clipping when buttons pressed to frequently

New Here ,
Feb 19, 2016 Feb 19, 2016

In a responsive HTML 5 Captivate 9 project I have three buttons.

Each brings up different text, images and starts a new audio (using advanced actions).

This all works fine except when the user any button before the previous audio ends.

I would expect in this case for the audio to switch over and play the new audio in full but instead it seems to clip the new audio (probably at the time at which the old audio would have ended).

To restate it seems likely that the audio end trigger is left when the audio cuts off. This occurs in previews of all times on multiple browsers and via SCORM cloud. I've not tried it elsewhere yet. The audio clips are between 10 and 15 seconds long. Note I am working on a Mac.

I have tried using and not using stop triggered audio which seems to make no difference. I have also tried disabling the button sound. I could potentially spread this over three slides but this seems a poor solution (creates page numbering issues ).

In the past I had numerous ways to get round this (all used SWF's) but in a responsive project this doesn't seem to be possible.

I would be happy with a solution that blocked the click until the audio has finished but couldn't work out how to do this without Javascript which I'm trying to avoid. I'd also be happy or with a way to embed another captivate project in my responsive project.

Thanks,

Richard

TOPICS
Audio and video
259
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 19, 2016 Feb 19, 2016

I think your issue is due to using an Action to trigger the audio.

There are a couple of ways you could try to address this:

  • You could add the audio to an object that is on the screen and then use your actions to SHOW and HIDE the object.  In Captivate when using Object Level Audio, hiding the object will immediately cut off the audio that is attached to that object.
  • Your other option is to use Standard Actions (or Conditional Actions) to trigger the audio you want to play, but then have the very first action line item set as a Stop Triggered Audio action, before the next action line triggers the relevant audio clip you want to play.  In this way, the first action should kill any audio clips currently playing before launching another.
  • Using different slides is also an option and I don't see anything wrong with that if it works better than either of the above options.  I find using separate slides will often avoid all manner of issues incurred by trying to do too much on a single slide.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 19, 2016 Feb 19, 2016
LATEST

Thanks

The second bullet point was what I was doing (which didn't work) the first solution does work although it doesn't feel especially intuitive although it nice and easy now I know

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources