How to Detect When a Slide Has Finished Playing in ActivePresenter

Dear ActivePresenter Support Team,

I’m currently implementing a custom Play/Pause/Replay button using JavaScript and system variables. One requirement is to detect when a slide has completely finished playing so that I can show a “Replay” button.

Could you please clarify:

  • What is the most reliable way to determine when a slide timeline has ended?
  • Is there a built-in event or variable that directly indicates the slide has finished?
  • I noticed there is a variable called apCurrentSlideProgress, but its value seems inconsistent (not percentage-based).

Any guidance or best practice would be greatly appreciated.

Thank you for your support!

Best regards,

Hi,
This can be done in ActivePresenter using built-in events and actions, no need for JavaScript or variables.
Here’s how:

  • Add a Replay button and set its On Click event to Restart Presentation.
  • Insert a Timer and set it to be hidden initially. Then, on the timer’s On Complete event, add the action to Show the Replay button.
  • For the slide’s On Load event, add two actions: Start Timer and Hide the Replay button.
    Please see the attached sample below for more information.
    Replay_show_hide.approj (284 KB)
    Regards,
1 Like

Hi,
Thank you very much for your help.