Skip to main content
Participant
April 30, 2021
Question

Does anyone know how to implement playback speeds into my published modules?

  • April 30, 2021
  • 3 replies
  • 1688 views

The CEO of my company requested adding the ability for learners to speed up, or slow down entire published modules. Is this possible? We publish our learning courses on Moodle if that helps at all. If it involves Javascript coding I have a basic foundation in coding, I just need to be pointed in the right direction first 😉

This topic has been closed for replies.

3 replies

ChrisG LMS
Inspiring
April 30, 2021

I sent you a sample captivate file by PM, since the forum is not letting me post captivate files as attachments

Participant
February 9, 2022

Hi, Chris - 

 

Does the file you sent solve the playback question? If so, might you be willing to share. We have also been tasked to investiage this. 

 

Thanks,

Laura

ChrisG LMS
Inspiring
February 9, 2022

Yes. I am using 4 buttons to allow us (administrators) to skip ahead and back in slides so we don't have to watch the entire slide.  By default, the buttons are hidden, but if you are logged into our system as an administrator, they show up.  If you set them up as smartshapes, they will automatically be visible through the entire course without needing to copy them to every slide.  I just set the button's actions to be the below for jumping ahead 5 seconds and 10.  

 

window.cpAPIInterface.setVariableValue("cpCmndGotoFrameAndResume",cpInfoCurrentFrame+150); 
window.cpAPIInterface.setVariableValue("cpCmndGotoFrameAndResume",cpInfoCurrentFrame+300);

 

 

Stagprime2687219
Legend
April 30, 2021

The default FPS, or frames per second is 30.

A custom button with Execute JavaScript could do this.

If you wanted to switch to say 1.5x speed you would use

cp.movie.fps=45;

 

for half speed you would use

cp.movie.fps=15;

 

You could also create a button to slowly increment or decrement the speed but that would take a little more work.

ChrisG LMS
Inspiring
April 30, 2021

I had tried this myself a while back on a project, but with a slide with audio, it would not increase (or mute) the audio speed. It would only change the animations in the slide.  

 

Same thing with an mp4 set as a slide video. Didn't change it.

 

I found that a button that skipped ahead or back a certain number of seconds worked great.

Stagprime2687219
Legend
April 30, 2021

Yeah - this basically adjusts the speed of the Captivate timeline.

I suppose anything running independent of that would not be affected.

Lilybiri
Legend
April 30, 2021

Changing the FPS value?