Fixed video format.
parent
368e085940
commit
a9d205b799
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue