'Uncaught TypeError: undefined is not a function' in Chrome (HTML5)
Copy link to clipboard
Copied
I have a course that when published as HTML5 and uploaded to a server (a must) works fine in Internet Explorer but in Chrome it doesn't play and I get the following error:
This is all the error states. Any idea what could cause it and how to fix it?
The course works fine when played locally so it's an issue when it's on a server - but have tried on a few different ones and no luck.
Copy link to clipboard
Copied
This is a (not very descriptive/helpful) error occurring in the PPTX support library registering audio loaded from a PPTX / Powerpoint imported to Captivate. Not entirely sure of the details as I don't use PPTX import much, but Captivate's AudioManager calls this on load to locate any PPTX slide item containing a particular type of data (audio) whose assets Captivate puts in the ar/pptxAr folder within the course. My take is that there is either something causing a problem accessing the assets in this folder on the web (sometimes this is a matter of that the web server doesn't support a mime type or blocks certain file extensions). You may want to look at the files in that folder and see if there is anything there that might be problematic for your web server.
Without being able to look at the course it's difficult to say what exactly/specifically would be causing this. Maybe you could provide a link?
You could use a local network monitor such as Fiddler 2 to see whether there are any issues with the code requesting/fetching files from the server, and then take further steps if you find an issue there.
The Captivate code traps the error in a try/catch block and so suppresses some of the error detail.

