Add JS to SCORM popup?

Add JS to SCORM popup?

by Mark van Hoek -
Number of replies: 0
Picture of Core developers Picture of Plugin developers

I'm developing a block and I need to add some Javascript to a SCORM popup window = when you configure the SCORM to open in a New Window.  So here:

  • Click into the SCORM mod/scorm/view.php?id=6
  • Click the Enter button and a new window pops up mod/scorm/player.php?a=1&currentorg=Course_001_ORG&scoid=4&sesskey=blah&display=popup&mode=normal
  • The JS should be loaded/run in this window.
I've got the block working on the entry page just fine, but no action in the SCORM popup.

Version: Moodle 3.9 with Boost

Any ideas how to do this aside from hacking the theme or the SCORM module?


Thanks folks!

Average of ratings: -