Skip to main content
NewMavens
Inspiring
August 29, 2017
Question

Trigger action upon completion of media playback?

  • August 29, 2017
  • 2 replies
  • 762 views

Storyline guy here trying to get a good handle on Captivate. I have a slide set up with multiple stacked video files, all hidden by default. I have individual buttons configured to show each video file (and keep the others hidden) using Advanced Actions. But what if I want another action (or Advanced Action) to occur automatically upon playback completion of the currently-playing video? I've done this easily in Storyline but I can't figure out how to do it in Captivate. Any help appreciated. Thanks!

    This topic has been closed for replies.

    2 replies

    RodWard
    Community Expert
    Community Expert
    August 30, 2017

    This is one of those areas where Storyline does win.  Captivate doesn't currently have any event that fires on completion of a video or audio file that you can use to trigger an action.  So if you were accustomed to using those events that later versions of Storyline provides for this purpose, then you will be disappointed.

    If you happen to be a JavaScript coder, then you can certainly create your own event listeners to detect the end of the video playback and then trigger something to happen (e.g. play the next video).   But in Captivate the best way to get more control over what happens when a video completes is to insert that video on its own slide as a Multi-Slide Synchronized Video and then the video timeline will be locked to the slide timeline.  This gives you the option of using the Slide End event to trigger a jump to another slide where the next video can be played.  But with slide synchronized videos you can only ever have one video per slide.

    Inspiring
    August 30, 2017

    Hey, 

    Couple of questions.  Are you embedding or inserting the videos into the page (project) ? What type of actions do you want to occur when the video completes? Do you need  the project to be responsive or is it fixed?  What version of Captivate are you using, and finally how good are you at Javascript?

    There is no simple solution to a complex multiple video show/hide sequence, but there are several work-around options. You just need to be more specific. 

    Cheers,
    Steve  

    NewMavens
    NewMavensAuthor
    Inspiring
    August 30, 2017

    I inserted the videos into the page. The project is not responsive. After a selected video is finished playing, I want it to hide itself, then show and play a default video (on this case, a video of static). I'm using version 9 of Captivate. I'm not a JavaScript guy at all.

    Also, is it possible to remember the play point of each video so if I switch from one video to another it simply resumes playing and doesn't start over? As I have things currently the videos always start from the beginning even after previously being selected.