Merge branch 'release' into stable

pull/1/head 1.4.2
Svein-Tore Griff With 2015-07-09 15:20:31 +02:00
commit 729842a41a
4 changed files with 16 additions and 1 deletions

View File

@ -235,6 +235,7 @@ H5P.QuestionSet = function (options, contentId) {
var _displayEndGame = function () {
if (rendered) {
$myDom.children().hide().filter('.questionset-results').show();
self.trigger('resize');
return;
}
//Remove old score screen.
@ -306,6 +307,10 @@ H5P.QuestionSet = function (options, contentId) {
}
});
video.attach($videoContainer);
// Resize on video loaded
video.on('loaded', function () {
self.trigger('resize');
});
video.play();
if (params.endGame.skipButtonText) {

View File

@ -120,6 +120,11 @@
"default": "Vis fasit",
"description": ""
},
{
"label": "Tekst til \"Prøv igjen\" knapp",
"default": "Prøv igjen",
"description": ""
},
{
"label": "Tekst til \"Avslutt\" knapp",
"default": "Avslutt"

View File

@ -120,6 +120,11 @@
"default": "Vis fasit",
"description": ""
},
{
"label": "Tekst til \"Prøv igjen\" knapp",
"default": "Prøv igjen",
"description": ""
},
{
"label": "Tekst til \"Avslutt\" knapp",
"default": "Avslutt"

View File

@ -3,7 +3,7 @@
"contentType": "question",
"majorVersion": 1,
"minorVersion": 4,
"patchVersion": 1,
"patchVersion": 2,
"embedTypes": [
"iframe"
],