diff --git a/js/questionset.js b/js/questionset.js index b523ebe..e848d7e 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -208,7 +208,7 @@ H5P.QuestionSet = function (options, contentId) { if (params.endGame.animations.showAnimations) { var videoData = success ? params.endGame.animations.successVideo : params.endGame.animations.failVideo; if (videoData) { - H5P.playVideo($myDom, videoData, cp, function () { + H5P.playVideo($myDom, videoData, params.endGame.animations.skipButtonText, cp, function () { displayResults(); }); return; diff --git a/semantics.json b/semantics.json index 1b38b56..6b1e2e3 100644 --- a/semantics.json +++ b/semantics.json @@ -191,6 +191,17 @@ "type": "boolean", "label": "Show animations" }, + { + "name": "skippable", + "type": "boolean", + "label": "Skippable" + }, + { + "name": "skipButtonText", + "type": "text", + "label": "Skip button text", + "common": true + }, { "name": "successVideo", "type": "video",