-
1. Re: Edit and "cleanup" CPM.js at HTMl export
Russ_E Oct 27, 2014 9:07 AM (in response to Document_captivate)Hi,
The CPM.js file is recreated every time you publish and may be very different depending on changes you have made in your course.
I would advise against making any broad changes to it or replacing it with a custom version.
Hope that helps,
Russ
-
2. Re: Edit and "cleanup" CPM.js at HTMl export
Document_captivate Oct 27, 2014 9:10 AM (in response to Russ_E)Thank you very much. The only problem i have is that the file features a lot of things that are deactivated in the project ( for example audio). Is there a way to tell Captivate not to feature these elements in the published file?
-
3. Re: Edit and "cleanup" CPM.js at HTMl export
Russ_E Oct 27, 2014 9:26 AM (in response to Document_captivate)Do you mean exclude functions that aren't used in your project?
If so, I don't know of any easy way to do that.
Maybe you could submit it as a feature request, but who knows if they will ever get to it.
Sorry.
-
4. Re: Edit and "cleanup" CPM.js at HTMl export
windscorpion Oct 27, 2014 9:29 AM (in response to Document_captivate)Its typical machine generated code, you could edit it but it wouldn't be an easy task, plus as already mentioned you would have to do it every time you published (though you could have a script to do it for you). I know its a fairly hefty file but is it worth the effort?

