Copy link to clipboard
Copied
There is a Captivate project with Animate animations in it. These animations play when the project is hosted on Internet Explorer but do not appear when the project is played in Chrome. The developers wanted to delay the Captivate next button until the animation finished and added the following code to the project-
window.parent.parent.window.cpAPIInterface.pause();
window.parent.parent.window.cpAPIInterface.play();
Would appreciate any ideas on how to fix this.
Thank you,
Susan
Copy link to clipboard
Copied
AFAIK that code has nothing to do with showing a Next button after the animations, it is just the Play and Pause command.
Is it an OAM? Maybe it is a SWF animation, which will only play on browsers having the Flash Player plugin installed. That may be the case with old IE but not with Chrome.
Copy link to clipboard
Copied
I would think there are too many parents, should be:
window.parent.window.cpAPIInterface.pause();
window.parent.window.cpAPIInterface.play();
Copy link to clipboard
Copied
HI Gray Susan,
you are saying "the developers wanted to delay the Captivate next button". When you have a next button with Go to the next Slide, why not hiding it at first with Eye symbol in the Properties Panel, supply it with a unique ID, like let's say delayedNextButton and in Animate you (or the developers) add the following code in the Animate Timeline where the animation is finished:
window.parent.window.cp.show("delayedNextButton");
or if that doesn't work, try:
window.parent.window.cpAPIInterface.show("delayedNextButton");
No garantees, but I guess it will work
Klaus
Copy link to clipboard
Copied
But - thinking about it, if you mean with Captivate next button the Play button in the standard Playbar, then forget my suggestion and TLCMediaDesign's method is the working one.