diff --git a/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.class.php b/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.class.php index 812bab38071..354014f4cb2 100644 --- a/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.class.php +++ b/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.class.php @@ -1,5 +1,7 @@ editor->ajaxInterface->validateEditorToken($token); if (!$isValidToken) { - \H5PCore::ajaxError( + H5PCore::ajaxError( $this->core->h5pF->t('Invalid security token.'), 'INVALID_TOKEN' ); diff --git a/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.interface.php b/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.interface.php index d45b2b1bea1..89d42634a92 100644 --- a/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.interface.php +++ b/h5p/h5plib/v124/joubel/editor/h5peditor-ajax.interface.php @@ -1,5 +1,6 @@ ' + - '' + - ns.t('core', 'tutorial') + + '' + + '' + + ns.t('core', 'tutorial') + '' + '' ).hide(); this.$exampleUrl = ns.$( - '' + - '' + - ns.t('core', 'example') + + '' + + '' + + ns.t('core', 'example') + '' + '' ).hide(); @@ -141,7 +141,13 @@ ns.LibrarySelector.prototype.appendTo = function ($element) { var self = this; this.$parent = $element; - this.$selector.appendTo($element); + /* + Start Moodle change + This line is commented out to prevent display of the hub selector in Moodle. + For more information see MDL-67814. + */ + //this.$selector.appendTo($element); + /* End Moodle change */ this.$tutorialUrl.appendTo($element); this.$exampleUrl.appendTo($element); diff --git a/h5p/h5plib/v124/lang/en/h5plib_v124.php b/h5p/h5plib/v124/lang/en/h5plib_v124.php index 35e5ee312ff..ca4c29bf42e 100644 --- a/h5p/h5plib/v124/lang/en/h5plib_v124.php +++ b/h5p/h5plib/v124/lang/en/h5plib_v124.php @@ -24,6 +24,8 @@ defined('MOODLE_INTERNAL') || die(); +$string['editor:a11ytitleshowlabel'] = 'Show label for AT'; +$string['editor:a11ytitlehidelabel'] = 'Hide label for AT'; $string['editor:atoz'] = 'A to Z'; $string['editor:add'] = 'Add'; $string['editor:addauthor'] = 'Save author'; @@ -31,7 +33,7 @@ $string['editor:addentity'] = 'Add :entity'; $string['editor:addfile'] = 'Add file'; $string['editor:addnewchange'] = 'Add new change'; $string['editor:addtitle'] = 'Add title'; -$string['editor:addvideodescription'] = 'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube links.'; +$string['editor:addvideodescription'] = 'H5P supports all external video sources formatted as mp4, webm or ogv, like Vimeo Pro, and has support for YouTube and Panopto links.'; $string['editor:avtablistlabel'] = 'Insert using'; $string['editor:belowmin'] = 'The :property value is below the minimum of :min.'; $string['editor:cancel'] = 'Cancel'; @@ -90,7 +92,7 @@ $string['editor:enteraudiotitle'] = 'Paste link or other audio source URL'; $string['editor:enteraudiourl'] = 'Enter audio source URL'; $string['editor:enterfullscreenbuttonlabel'] = 'Enter fullscreen'; $string['editor:entervideotitle'] = 'Paste YouTube link or other video source URL'; -$string['editor:entervideourl'] = 'Enter video source URL or YouTube link'; +$string['editor:entervideourl'] = 'Enter video URL'; $string['editor:errorcalculatingmaxscore'] = 'Could not calculate the max score for this content. The max score is assumed to be 0. Contact your administrator if this isn’t correct.'; $string['editor:errorcommunicatinghubcontent'] = 'An error occured. Please try again.'; $string['editor:errorcommunicatinghubtitle'] = 'Not able to communicate with hub.'; diff --git a/h5p/h5plib/v124/thirdpartylibs.xml b/h5p/h5plib/v124/thirdpartylibs.xml index f65a10bdb96..d0b5cdd43fd 100644 --- a/h5p/h5plib/v124/thirdpartylibs.xml +++ b/h5p/h5plib/v124/thirdpartylibs.xml @@ -16,7 +16,7 @@ joubel/editor h5p-editor-php-library A general library that is supposed to be used in most PHP implementations of H5P. - moodle-1.20.2 + moodle-1.22.4 GPL 3.0+ https://github.com/h5p/h5p-editor-php-library/