Playbar Behavior

This topic explains how to use CpExtra preference variables to change the behavior of Captivate's playbar.

xprefDisablePlaybarScrubbing

Expected value: Boolean (yes/no, true/false, 1/0)
Default value: False (they playbar will scrub)

Captivate allows you to jump to different locations in the course by clicking at points along the progress bar, or by clicking and dragging the progress bar handle.

In courses that use branching scenarios this may be a problem, as the user could easily use the playbar to navigate into slides they were never supposed to see.

However, if you set xprefDisablePlaybarScrubbing to true, then no amount of clicking or dragging on the progress bar will allow the user to jump to another point in the course.

Note: On mobile devices playbar scrubbing is disabled by default. This is standard Captivate behavior, it has nothing to do with CpExtra. Setting this variable to false will not allow you to scrub on a mobile device. 

xprefUseDoubleDigitTotalTimeValues

Expected Value: String including either:

  • Hours
  • Minutes
  • Seconds

May include two or more combinations, as long as they are separated by commas. For example: Hours, Seconds

Default value: None

This preference variable is tied into the behaviour of the xinfoProjectTotalHoursxinfoProjectTotalMinutes and xinfoProjectTotalSeconds variables. When these variables display single digit values (0 to 9) rather than double digit values (10 - 59) they look to these preferences to see whether or not an extra '0' should be added to the front of the variable.

Example: 

Assign | xprefUseDoubleDigitTotalTimeValues with None

Example: 

Assign | xprefUseDoubleDigitTotalTimeValues with Minutes, Seconds

As you can see on the right, this has changed the total time to show a zero in front of the one minute mark.

xprefUseDoubleDigitElapsedTimeValues

Expected Value: String including either:

  • Hours
  • Minutes
  • Seconds

May include two or more combinations, as long as they are separated by commas. For example: Hours, Seconds

Default value: None

This preference variable is tied into the behaviour of the xinfoProjectElapsedHoursxinfoProjectElapsedMinutes and xinfoProjectElapsedSeconds variables. When these variables display single digit values (0 to 9) rather than double digit values (10 - 59) they look to these preferences to see whether or not an extra '0' should be added to the front of the variable.

Assign | xprefUseDoubleDigitElapsedTimeValues with None

Example: 

Assign | xprefUseDoubleDigitElapsedTimeValues with Minutes, Seconds

As you can see on the left, this has changed the elapsed time to show a zero in front of the minute AND second mark.

IF YOU LIKE WHAT YOU'VE READ ABOVE, THERE'S PLENTY MORE!

Join more than 2500 other Adobe Captivate users just like yourself and receive regular troubleshooting tips, illustrated tutorials, technical information, and creative solutions to real-world e-learning development issues. (See an example here.) Click the button below to join our community.  It's completely FREE!