Skip to main content
Participant
March 11, 2013
Question

Captivate 6 - Disable/Re-enable Playbar after video is viewed

  • March 11, 2013
  • 1 reply
  • 2563 views

Hi guys

Hopefully a quick question for you.

I have an Adobe Captivate 6 project I am setting up for my LMS.

I have a series of videos and then a quiz at the end.

I don't want users to be able to skip the videos, so I have set the playbar to disable for the video slides.

This works well in the sense the user is not able to skip the videos before getting to the quiz.

Once the quiz has been sucessfully completed however I would like the user to able to navigate through the slides as they wish, so I would like the playbar re-enableed for this.

Is there a way I can set a variable that says the video has been watched, and once it has been, to then enable the playbar?

Also is there a way of making slides as a prerequsite for others?  So you are not able to view slide 2 if you haven't seen slide 1? 

That woudl be great as then I could re-enable being able to navigate through the table of contents.

Thanks in advance!  🙂

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    March 11, 2013

    For your first question, disabling the playbar is fine. And I suppose you just let the play head continue in that case without any required action by the user (no custom Next button?). In that case your last question is already answered, since the user will be forced to go through the course linearly. I would recommend to hide the TOC in that case as well, to avoid confusion. CP6 has a new system variable cpCmndTOCVisible that you can set to 0 on entering the first slide. Or, if you enable the option 'Navigate Visited Slides only' they will not be able to skip a video slide without having viewed it. But in that case, what I explain next, which is to show the playbar only when everything has been viewed is not what you want. Your question is a bit 'dubious' to me, do you want to allow navigation by TOC or by playbar?

    If you want to show a playbar, first question: is this a linear course totally? Then it would be sufficient to define one user variable, v_viewed (just an example for its name), with an initial value of 0. The user has to watch all videos, and if there is no Next button on the video slides, you can use the On Exit event on the last video slide to set the value of the variable v_viewed to 1 (can be done with a simple Assign action in the Actions accordion for the slide).

    For each video slide you'll need a conditional advanced action on entering that slide. This action will check the value of v_viewed and show the playbar if the value is 1. You'll need it on each video slide, not only on the first, because navigation to visited slides is free.

      IF v_viewed is equal to 1

          Assign cpCmndShowPlaybar with 1

    ELSE

          Assign cpCmndShowPlaybar with 0

    evano666Author
    Participant
    March 11, 2013

    Hey Lilybiri

    Thanks again for your response.

    The course is indeed linear.

    So I've gone through and set it as you specified. 

    This is set on all slides

    This is set on the final video slide.

    The Playbar does not show for the first slide.  Great.  However one all the other video slides the playbar returns??  Any idea why this may be?

    Also, out of interest, could you do the same with the skin as you can the playbar? 

    Thanks :-)

    Lilybiri
    Legend
    March 11, 2013

    Did you set the value of v_viewed, when definining it, to 0? And sure that you did assign the conditional advanced action to all On Enter Events, for all video slides?

    You didn't show the ELSE portion of the advanced action, where the playbar is hidden.

    To debug: put a text container (either a caption or a shape) on the first slide in which you insert the variable v_viewed. And time it for the rest of the project: its value should remain 0 until reaching the quiz slides.

    There is no system variable for the 'skin', there are two system variables for the TOC. Have a look at my blog post about system variables in CP6, there is a link where you can download a complete descriptive list:

    http://lilybiri.posterous.com/system-variables-in-captivate-6

    Lilybiri