How to properly terminate SCORM 1.2 content inside iframe (ActivePresenter)?

Hello,

I am creating SCORM 1.2 packages using ActivePresenter and testing them.

When I export and run the content as standalone HTML (opened directly), window.close() works as expected.

However, when the same SCORM package is deployed in an LMS the content runs inside an iframe and window.close() does not work.

My question is:

  • Is there a proper ActivePresenter API or SCORM 1.2 method to correctly terminate/exit SCORM content running inside an iframe?

  • What is the recommended way to implement an “Exit e-content” button in this scenario?

  • Should termination be handled only through SCORM API calls instead of trying to close the window?

Any guidance would be appreciated.

Thank you.