Stop video when finished

HFJ-1218
pull/3/head
Frode Petterson 2015-11-18 10:00:19 +01:00
parent 2d9a7cccda
commit a36014c1e0
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ H5P.QuestionSet = function (options, contentId) {
// Add finish question set button
question.addButton('finish', params.texts.finishButton, function () {
_stopQuestion(currentQuestion);
_displayEndGame();
}, false);