Copy link to clipboard
Copied
I wanted to post this as I know a lot of others have had this problem in that Firefox would not load slides from a responsive project/HTML5 output that included Smart Shape buttons. I'm hoping this will resolve your issue as it did with me:
The issue stems from how Captivate publishes the JavaScript behind the responsive project. More specifically, Firefox requires that the "event" object be passed to event handlers/functions, which is not how the JavaScript is currently written. If you open a responsive project that includes Smart Shape buttons within Firefox and open the Developer Tools, you'll see that Firefox catches a series of errors in the console, all of which are reference errors stating that the event object is not defined.
In order to get a published output that includes Smart Shape buttons to work correctly in Firefox, you must edit the CPM.js file included in the published output:
Open the CPM.js file in a simple text editor (Notpad, Wordpad, etc...) and then do a "Find" for this text:
cp.AutoShape=function(e,k,a)
Edit this line to include "event" as a parameter:
cp.AutoShape=function(e,k,a,event)
Save your edits, making sure that the file still includes the ".js" extension after you have made your changes.
Now, attempt to open your published output in Firefox and check the slides that include the Smart Shape buttons. If your edit was correct, you should see your slide load correctly in Firefox, and your Smart Shape buttons should also be functioning as intended.
Note that this fix does not get rid of the incompatible browser warning message. You will need to make some other corrections to remove this warning (example found here: HTML5 and Firefox with Captivate 8.01)
Post back if this works for you.
Copy link to clipboard
Copied
Thanks, great find! Buttons on every slide and named so that you can control them is a big waste of time for such a simple fix.
Copy link to clipboard
Copied
Thanks a lot for posting this fix!
Copy link to clipboard
Copied
Apologies for bumping, but thank you dearly for this!