Skip to main content
ChristinaCaptivate
Known Participant
July 27, 2017
Question

Can I create a slide, that plays different audios depending on the slide the user is coming from?

  • July 27, 2017
  • 1 reply
  • 108 views

Hello there!

I would like to have a slide that presents the different contents of the course. When the user is navigating to this slide coming from the very beginning, I want an audio to play that explains quite widely what the different chapters are about. But if someone is coming back to this slide, I would want a different, shorter audio to be played. I was thinking about simply creating two almost exact slides with different audios, but that would probably mean, that if the user would click the backwards button again and again, both versions could be reached. So I mainly see two possibilities: Either creating a slide, that plays different audios depending on where the user is coming from. Or, creating two slides, of which one cannot be reached by using the forward/backwards button of the playbar. Is any of that doable in Captivate 2017?

 

Best regards,

Christina

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    July 27, 2017

    I need one more detail: do you need CC for the audio or not?

    Using the default playbar is always dangerous if you want this kind of functionality. Reason is that the user can scrub the progress bar, which means he can end up in the middle of a slide. To achieve your goal it is essential that the On Enter event occurs for the slide, because it has to trigger a conditional action.

    Here is a link to a blog post I wrote about not the same, but a similar use ccase:

    Force first view - Captivate 8 - Captivate blog

    ChristinaCaptivate
    Known Participant
    July 27, 2017

    I don't need CC for this slide. Also, I am not showing the progress bar in the course, only the play, next, back etc. buttons. But I guess scrubbing the progress bar and clicking back and forth is essentially the same when it comes to viewing slides I don't want the user to be able to go back to. 

    Lilybiri
    Legend
    July 27, 2017

    I that case I would use the Play Audio command, not slide audio (which is necessary for CC). Still, I strongly recommend to use custom navigation. At this moment, there is a bug for HTML5 output in CP2017, where the On Enter action is not executed when coming back to a slide. I hope it will be fixed soon in a patch. You will need an advanced (or shared action) like this to be triggered by the On Enter event of that slide, and a variable that will track if it is a first visit. Here are the steps:

    1. Create a user variable v_visit with a default value of 0
    2. Create an advanced action like this:
    3. Attach this action to the On Enter event of the menu slide