aboutsummaryrefslogtreecommitdiff
path: root/Info/9/3/Planet/templates/h5p-autoembed.js
diff options
context:
space:
mode:
Diffstat (limited to 'Info/9/3/Planet/templates/h5p-autoembed.js')
-rw-r--r--Info/9/3/Planet/templates/h5p-autoembed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Info/9/3/Planet/templates/h5p-autoembed.js b/Info/9/3/Planet/templates/h5p-autoembed.js
index 8c41e6e5..c26c0c84 100644
--- a/Info/9/3/Planet/templates/h5p-autoembed.js
+++ b/Info/9/3/Planet/templates/h5p-autoembed.js
@@ -48,7 +48,7 @@ async function embedScorm() {
const iframe = document.createElement('iframe');
// Concatenate the URL to prevent Moodle's auto link feature to mess with the url
- iframe.src = `/mod/scorm/player.php?a=${scormplayerdata.scorm}&currentorg=${scormplayerdata.currentorg}&scoid=${scormplayerdata.sco}&sesskey=${M.cfg.sesskey}&display=popup&mode=normal`
+ iframe.src = `/mod/scorm/player.php?a=$${scormplayerdata.scorm}&currentorg=$${scormplayerdata.currentorg}&scoid=$${scormplayerdata.sco}&sesskey=$${M.cfg.sesskey}&display=popup&mode=normal`
iframe.frameborder = div.frameborder ? div.frameborder : 0;
iframe.allowfullscreen = div.allowfullscreen ? div.allowfullscreen : "allowfullscreen";
iframe.title = autoEmbedLink.title;