xAPI file in WordPress

Problem: We are using ActivePresenter to create xAPI files to upload to the Grassblade xAPI plugin in WordPress, and then link these to Tutor LMS modules. However, there’s a loading error when we upload it.

ActivePresenter version: ActivePresenter 10.1.1

OS: Mac

Notes:

  • xAPI content is exported from ActivePresenter and uploaded as a ZIP into GrassBlade xAPI Companion (WordPress).

  • The package structure is correct (contains index.html, tincan.xml, player/, resources/ at the ZIP root).

  • Other xAPI packages (e.g., produced in iSpring) load correctly in the same GrassBlade/WordPress environment.

  • The ActivePresenter package fails to load and shows an infinite loading spinner.

  • This occurs even when launching outside Tutor LMS (e.g., on a standard WordPress page / direct launch), so it is not Tutor-specific.

  • Browser console errors observed on launch include:

    • ADL.XAPIWrapper.registerXAPICallback is not a function

    • Follow-on error in rltincan_functions.js such as Cannot read properties of undefined (reading 'context')

  • Attempted mitigation: edited index.html to remove/override window.ADL (shim) before the player loads, but the loading issue persisted.

  • Hypothesis: ActivePresenter’s exported xAPI runtime/wrapper conflicts with an existing ADL/xAPI wrapper on the site OR the export contains an incompatible ADL wrapper version relative to what the player code expects, causing xAPI context initialization to fail and the module to hang on load.

Hi Charlie,

ActivePresenter’s xAPI export does not use ADL XAPIWrapper; it uses a different library. The xAPI specification also does not require content to use any particular library.

In principle, an LRS or launcher should be able to load any valid xAPI package regardless of which library it uses internally. Since the console error indicates a dependency on ADL.XAPIWrapper, it would be best to check with the GrassBlade team, as they would know how their launcher handles xAPI packages.

Additionally, you can also send us a test account or staging access via our support email support@atomisystems.com so we can investigate further.

Best regards,

Hi Hoanp,

Thanks for the clarification.

I’ve invited you to the staging site — you should receive an invite at this email address to academystaging.dexata.co shortly. Please let me know if it doesn’t come through.

Hopefully this will allow you to access the environment and investigate further. In parallel, I’ll also check in with the GrassBlade team regarding how their launcher handles xAPI packages given the dependency showing in the console error.

Thanks again for your help with this.

Best regards,
Charlie

Hi Charlie,

Thanks — I received the invite and was able to log in to the staging site successfully.

Could you please grant me permission to upload xAPI packages so I can try uploading the xAPI package of ActivePresenter and run a test?

If granting that permission isn’t convenient, another option would be for you to upload the package on your side and share the launch link with me. That would also work for my testing.

Thanks!

Hi Hoanp,

Great, glad you were able to access the staging site.

You’re currently an administrator and you should already have permission to upload xAPI packages. You should be able to do this directly through the platform, but let me know if you run into any issues and I can take a look.

If it still doesn’t allow you to upload for any reason, feel free to send the package over and I can upload it on my side and share the launch link with you for testing.

Thanks!

Hi Charlie,

Thanks for the update. I’ve checked the platform after logging in, but I’m not seeing an option to upload an xAPI package.

Could you let me know where that option should appear? I might be looking in the wrong place. I’ve attached a screenshot of what I’m currently seeing.


I’ve also attached the xAPI package here xAPI_ActivePresenter.zip (245.7 KB)
— if it’s easier, feel free to upload it on your side and share the launch link with me so I can proceed with testing.

Thanks for your response, Hoanp. It looks like the view you’re referencing is the frontend of the website rather than the backend. The good news is that I managed to resolve the original issue by exporting the project as a SCORM file, which now works correctly.

However, I’m now running into a different problem. I’ve created a couple of quiz slides in ActivePresenter, but when testing them, clicking on an answer doesn’t show whether it’s correct or incorrect. Instead, a pause symbol appears and the slide continues. I’ve recorded a short video showing the issue here:
https://drive.google.com/file/d/1H8OGzmPWOPnd_Hg15odPcB519wlsORqz/view?usp=sharing

Any guidance would be greatly appreciated.

Great to hear you resolved the initial issue! :tada:

Regarding the quiz slide problem, it may be because the project was exported in the Demonstration Mode . In this mode, the task is displayed to learners as a demonstration, so they are only expected to watch the steps rather than interact with the content. As a result, quiz interactions are not evaluated, which is why selecting an answer does not show whether it is correct or incorrect.

To allow learners to interact with the quiz and receive feedback, please try using Tutorial, Practice, or Test Mode instead.
Please read this tutorial for more information about the differences among 4 modes:

Let me know if there’s still anything unclear.

Perfect, thank you for the very clear guidance. That worked and all questions are now resolved.

Thanks again!