diff --git a/h5p.classes.php b/h5p.classes.php index 0704abe..4089f78 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -3736,7 +3736,8 @@ class H5PCore { 'copyrightWarning' => $this->h5pF->t('Copyrighted material cannot be shared in the H5P Content Hub. If the content is licensed with a OER friendly license like Creative Commons, please choose the appropriate license. If not this content cannot be shared.'), 'keywordsExits' => $this->h5pF->t('Keywords already exists!'), 'someKeywordsExits' => $this->h5pF->t('Some of these keywords already exist'), - + 'width' => $this->h5pF->t('width'), + 'height' => $this->h5pF->t('height') ); } diff --git a/js/h5p.js b/js/h5p.js index e71a0d6..ac232d4 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -1348,7 +1348,7 @@ H5P.openReuseDialog = function ($element, contentData, library, instance, conten */ H5P.openEmbedDialog = function ($element, embedCode, resizeCode, size, instance) { var fullEmbedCode = embedCode + resizeCode; - var dialog = new H5P.Dialog('embed', H5P.t('embed'), '' + H5P.t('size') + ': × px
' + H5P.t('showAdvanced') + '

' + H5P.t('advancedHelp') + '

', $element); + var dialog = new H5P.Dialog('embed', H5P.t('embed'), '' + H5P.t('size') + ': × px
' + H5P.t('showAdvanced') + '

' + H5P.t('advancedHelp') + '

', $element); // Selecting embed code when dialog is opened H5P.jQuery(dialog).on('dialog-opened', function (event, $dialog) {