Skip to main content
AP_AW
Inspiring
July 12, 2016
Answered

Trigger action on audio end

  • July 12, 2016
  • 1 reply
  • 750 views

I have a piece of audio on my Captivate 9 timeline. When the timeline gets to the end of the audio I need to trigger an advanced action.

Dr Google has solutions that seem to rely on custom javascript both within Captivate and to be added to the published HTML5 output but as the client will be taking over maintenance of the project once I'm finished it's not a route I want to take.

I seen one solution where you have the action delayed in an advanced action for the same length of time as the audio but would this doesn't work if the user pauses playback?

Is there a native Captivate way to trigger and action when a piece of audio finishes?

Yes, I'm a newbie but the lack of events that can trigger actions is starting to become a concern.

    This topic has been closed for replies.
    Correct answer Lilybiri

    If you are using only HTML output, the easiest way is to use the new CpExtra widget developed by InfoSemantics (not included with Captivate, but it is the best investment to extend the Captivate functionality I know about - beware I have no links with that company!):

    Moreover it is 'growing' continuously, and one of the features is exactly what you want: provide an event at the end of an audio/video clip.

    Have a look:

    Introduction to CpExtra | Infosemantics Pty Ltd

    The new Delay command in advanced actions will indeed not be useful if you allow the user the to pause the playing.

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    July 12, 2016

    If you are using only HTML output, the easiest way is to use the new CpExtra widget developed by InfoSemantics (not included with Captivate, but it is the best investment to extend the Captivate functionality I know about - beware I have no links with that company!):

    Moreover it is 'growing' continuously, and one of the features is exactly what you want: provide an event at the end of an audio/video clip.

    Have a look:

    Introduction to CpExtra | Infosemantics Pty Ltd

    The new Delay command in advanced actions will indeed not be useful if you allow the user the to pause the playing.

    AP_AW
    AP_AWAuthor
    Inspiring
    July 12, 2016

    Thanks for the reply. I have discovered CpExtra and I have sent them an email with a few questions. The most important being whether I need to edit the published HTML for CpExtra to work (when I handover the project to the client to maintain they will feint if they see raw HTML).

    BTW is there a way to know what the published HTML file name, ID or any identifier for a slide's background audio will be?