openedx-scorm-xblock icon indicating copy to clipboard operation
openedx-scorm-xblock copied to clipboard

fix: Scorm iframe and API loading race condition

Open talhaaslam01 opened this issue 8 months ago • 1 comments

Description

Load the Scorm iframe's 'src' attribute after initializing the Scorm API instead of directly in the 'scormxblock.html' file because it can lead to a race condition where the Scorm content may load faster and try to access the Scorm API before it is loaded, thus giving an error.

talhaaslam01 avatar Jun 25 '24 02:06 talhaaslam01