• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to navigate through timeline

New Here ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

Dear All, 

I am stuck with the following problem. Please help me.
I am trying to goto a particular time period (e.g. 20 seconds) on timeline when the Next button is clicked and come back to 10 seconds when the Back button is clicked. I am using these codes (Window.cpAPInterface.navigateToTime (20000) and Window.cpAPInterface.navigateToTime (10000) ) in the Javascript window. But it is not at all working. 
Please guide me , where I am going wrong and how to navigate through the timeline using time in seconds or milliseconds.
Vaibhav K Dhange

Views

149

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
community guidelines
Community Expert ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

Probably you want a JS expert, which I am not at all. I tend to use JS only when I cannot achieve my goal with CP's functionality.

My suspicion: you think that time restarts on each slide which is not the case. Have a look at:

http://blog.lilybiri.com/micro-navigation-introduction

I use the explained terms in this action (just an example):

http://blog.lilybiri.com/advanced-to-shared-action-step-by-step-micro-navigation-showcase

Votes

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
community guidelines
New Here ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

Dear Lilybiri,

Thank you very much for your reply and links provided. It helped me a lot.

Kind regards,

Vaibhav

Votes

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
community guidelines
Community Expert ,
Aug 11, 2020 Aug 11, 2020

Copy link to clipboard

Copied

LATEST
You're welcome!

Votes

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
community guidelines
Advisor ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

Looks like you have a couple typos in your code.

Missing one of the  'I's

Also, the 'W' in window needs to be lowercase.

 

window.cpAPIInterface.navigateToTime(10000);

 


 As an afterthought:

If you're using the JavaScript window within Captivate - you can drop the window

cpAPIInterface.navigateToTime(10000);

 

Votes

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
community guidelines
Resources
Help resources