From 510123993a771e0cc40889d97b8f683314a6d0bf Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Mon, 9 May 2016 15:30:22 +0200 Subject: [PATCH] Making end-video using 100% width [HFJ-1875] --- css/questionset.css | 1 + js/questionset.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/css/questionset.css b/css/questionset.css index 6f5cf48..5e9cd9b 100644 --- a/css/questionset.css +++ b/css/questionset.css @@ -178,6 +178,7 @@ } .video-container > video { background-color: #000; + width: 100%; } .video-container > .h5p-button { position: absolute; diff --git a/js/questionset.js b/js/questionset.js index 0c1fdc1..d4cf49d 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -373,6 +373,8 @@ H5P.QuestionSet = function (options, contentId) { scoreBar.appendTo($('.feedback-scorebar', $myDom)); scoreBar.setScore(finals); $('.feedback-text', $myDom).html(scoreString); + + self.trigger('resize'); }; if (params.endGame.showAnimations) {