Skip to main content
Known Participant
March 30, 2017
Question

how disable the next button on playbar on one specific slide

  • March 30, 2017
  • 2 replies
  • 4034 views

Hi,

i am creating a project using captivate 7 and i used play bar in the project for easy navigation

While there is a slide i would like to put a video and i really want the learners to complete the video before they click the NEXT button on playbar.

I was thinking to replace the navigation bar with customized buttons while i just need the DISABLE function on one slide.

Any clue is appreciated.

Thank you,

This topic has been closed for replies.

2 replies

Participating Frequently
March 31, 2017

So, as usual, things that look impossible using the published captivate documentation are possible with a bit of splunking in the captivate output.   In this case,  here are a few useful nav bar show/hide combinations

The general form to hide the button is:  

$("#" + "buttonID").css("visibility","hidden")

to show the button is:

$("#" + "buttonID").css("visibility","visible")

 

Button IDs:

Forward  -  next slide button

Backward  -  last slide button

FastForward -  Fast Forward button

AudioOn - Audio Button

Exit - Exit button 

 

Play - play button

Rewind - rewind button

paybarSlider   - playbar 

 

an example is:   

$("#" + "Rewind").css("visibility","hidden");   // hide the rewind button

 

To use these, just add an advanced actions that call these one-liner javascript functions, and Boom, your're done. Note this is Captivate 9...

 

sdwarwick (at) healthdecisions (dot) us

RodWard
Community Expert
Community Expert
March 31, 2017

I didn't see where the original poster said they were publishing to HTML5 from Captivate 7.

If they are publishing to SWF?

Joseph Ganci
Inspiring
March 31, 2017

Right, I saw it was V7, so my solution will work regardless of whether it's HTML5 or Flash output. That being said, Flash is almost gone from the scene, and I'm happy that we can make changes to the published files!

Joseph Ganci
Inspiring
March 30, 2017

I don't believe there is any way from within Captivate to show and hide individual buttons on the navigation bar. If you don't mind, you can hide the navigation bar entirely while the video is playing and then turn it back on when the video has finished playing. I don't remember whether the system variable cpCmndShowPlaybar was in CP7 or not. If it is, the easiest way to do this is to:

 

  1. Load your video on one slide as a Multi-Slide Synchronized Video. Ensure that the slide timeline does not extend beyond the video and that the video is the only object on the slide.
  2. In the slide properties for the slide above, set the On Enter action to: Assign, then drop down the list and choose cpCmndShowPlaybar and in the With field type 0 (zero).
  3. When the video finishes, Captivate will move to the next slide automatically.
  4. On the next slide, set the On Enter action to: Assign, then drop down the list and choose cpCmndShowPlaybar and in the With field type 1 (one).
Lilybiri
Legend
March 31, 2017

You don't need the system variable anymore. The dropdown list in the simple Actions, and in Advanced actions has both Show Playbar and Hide Playbar commands. I don't have any issues with using system variables, but since two versions those more easy commands (for newbies) are available. Same for the TOC commands that needed using system variables before version 8.