Fixed video format.

d3summaryChart
Frode Petterson 2013-02-25 14:15:06 +01:00
parent 368e085940
commit a9d205b799
2 changed files with 12 additions and 1 deletions

View File

@ -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;

View File

@ -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",