Highlighted

Progress bar = pausing the playhead?

Participant ,
Aug 13, 2018

Copy link to clipboard

Copied

Hello again...

a customer wants the progress bar which I am not a fan of.

If I drag the progress around it seems to stop the project at the frame it is dragged to. Is there a way to tell it to continue wherever it is dragged?

Thanks!

Views

108

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Progress bar = pausing the playhead?

Participant ,
Aug 13, 2018

Copy link to clipboard

Copied

Hello again...

a customer wants the progress bar which I am not a fan of.

If I drag the progress around it seems to stop the project at the frame it is dragged to. Is there a way to tell it to continue wherever it is dragged?

Thanks!

Views

109

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Aug 13, 2018

Copy link to clipboard

Copied

There is a way with JavaScript.

You would need to create a JS file and include it in the head section of the html.

The JavaScript would be:

var interfaceObj, eventEmitterObj;

window.addEventListener( "moduleReadyEvent", function( e )
{
    interfaceObj = e.Data;
    eventEmitterObj = interfaceObj.getEventEmitter();
initializeEventListeners();
});

function initializeEventListeners()
{
if ( interfaceObj )
{
  if ( eventEmitterObj )
  {
   eventEmitterObj.addEventListener( 'CPAPI_ENDPLAYBARSCRUBBING', endScrub, false );  
  }
}
}

function endScrub()
{
window.cpCmndResume = 1;
}

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 13, 2018

Copy link to clipboard

Copied

Thank you.

I have to admit that I have never used Java and would not know where to put it in...

Is it the "index scorm.html" file in the zip once you publish for LMS?

It has to be put it at the start by opening it in an editor and pasting it in?
Where exactly?

Did you ever do this for a course?
Are there any unforeseen other effects because of that?

Sorry for all my questions...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Aug 14, 2018

Copy link to clipboard

Copied

It would be in the index file.

Whatever you name the javascript file, insert it in the head section just above the opening <script> tag. Put the JavaScript file in the assets/js folder.

<script src="assets/js/yourfilename.js"></script>

I can't think of any side effects.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 14, 2018

Copy link to clipboard

Copied

Thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Captivate User Guide
New Group