Skip to main content
Participating Frequently
November 30, 2015
Question

How do I keep the Play button in the navigation bar from advancing to the next slide?

  • November 30, 2015
  • 2 replies
  • 1146 views

The Play/Pause button allows the user to play or pause audio and animations on a single slide.

At the end of a slide, the Play/Pause button does the same thing as the Forward button...it seems to also go forward to the next slide (even when I have a hidden button on the slide).

I only want the Forward button to go forward. Is this possible? If yes, how?

    This topic has been closed for replies.

    2 replies

    R_H__
    Inspiring
    December 2, 2015

    You can block the pages moving on with the Play/ Pause button by effectively rewinding and resuming the timeline 1 frame (makes it go nowhere) - using Advanced Actions on the On Exit action per page. Using the cpCmndGotoFrameAndResume and cpInfoCurrentFrame.

    RodWard
    Community Expert
    Community Expert
    December 2, 2015

    No, this isn't going to work.  The On Exit event is a very unreliable thing to use for just about anything. If you user has access to the playbar controls they can jump to the next slide.  You need to either hide the playbar and lock the TOC, otherwise your learners can navigate away from the page.

    R_H__
    Inspiring
    December 2, 2015

    Afraid I have to disagree, it works perfectly for us, but then we do not use Captivates built in Forward or Back buttons.

    Just tested it including Captivates built in Forward and Back buttons, all works as expected, buttons take you forward and back, and Play/Pause goes nowhere (as OP wanted).

    Lilybiri
    Legend
    November 30, 2015

    That is not the way a video should behave but if you want it, you need to add an interactive object that can pause the slide. The easiest way is to add a shape button to the used master slides (or to the main master slide that is used by all master slides except the Introduction and some more), and check its pausing is turned on (Options for shape buttons on master slides which do not have a Timing panel), That can be a visible button, but you can also set the Fill to 0% and the stroke to 0 to make it invisible to the user.

    Each slide will pause at the end of its timeline automatically as long as it is based on such a master slide.

    toddrrrAuthor
    Participating Frequently
    December 1, 2015

    Thanks for the quick response.

    FYI, I don't have videos playing on any slides.

    I already had a SmartShape button on the master slide and it is checked for "Pause project until user clicks." This object does have a Timing panel but there is no transition. The Action fro the button is to toggle the TOC.

    I also had a ClickBox on the slide itself. I substituted a SmartShape button but the result is the same -- eventually clicking the Play button advances me to the next slide.

    Note, the Play button does not advance on the first slide (so only that slide works as intended).

    Is it possible to have the Play button only play or pause the slide and NOT advance to the next slide?

    Lilybiri
    Legend
    December 1, 2015

    No object on master slides has a Timing panel, there you are wrong. There is no timing possible for any object on master slides.  When you check pausing for a shape button on the master slide, that pause will always occur at the end of each slide. I remember this very well, because I have insisted on getting that behavior during prerelease many versions ago.

    If you have more than one interactive object on a slide, whether from a master slide, or timed for the rest of the project, or on the slide itself, you'll have to check the timing for those objects. If those timings are different, clicking the interactive object with the first pause (supposed it has a simple action - for all versions - and Continue Project is checked for CP9), will release the playhead but it will then stop at the second pause. If you click first on the interactive object with a pause that is later than the others, you cannot click on the first interactive objects anymore because the playhead will be in their inactive regions.

    The Play and Pause button on the default playbars do what you want: play or pause. If you want a custom play/pause button, you'll have to write out a conditional action. In the latest version you can use Pause as command, and Continue as play command. The system variables available to control play/pause are cpCmndPause and cpCmndResume. For earlier versions, I created this blog post about Play/Pause buttons:

    Custom Play/Pause button in Captivate - Captivate blog