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

'Uncaught TypeError: undefined is not a function' in Chrome (HTML5)

Community Beginner ,
Jun 12, 2014 Jun 12, 2014

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:

RegisterPPTXAudioCb
Uncaught TypeError: undefined is not a function

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.

1.1K
Translate
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
Explorer ,
Jun 12, 2014 Jun 12, 2014
LATEST

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.

Translate
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