ILIAS: Interactive Videos from YouTube not working

I've just created an issue here: https://h5ptechnology.atlassian.net/browse/HFP-2038 but since the issue was created in the backlog of Jira and not assigned to a person, I assume I have to post the issue here as well in order to get a reply :):

Description:

After upgrading the H5P core files to the latest version 1.18 (located in the vendor/ folder of the ILIAS plugin), content with type "interactive video" cannot be viewed or edited (nor created) with a URL to a YouTube video. Uploading interactive videos to the learning management system works fine. Interactive videos worked with YouTube worked fine before version 1.18.

Here's a stacktrace of the error:

Whoops\Exception\ErrorException thrown with message "Invalid argument supplied for foreach()" Stacktrace: #18 Whoops\Exception\ErrorException in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:3646 #17 ilErrorHandling:handlePreWhoops in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:3646 #16 H5PContentValidator:validateGroup in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:3714 #15 H5PContentValidator:validateLibrary in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:3621 #14 H5PContentValidator:validateGroup in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:3621 #13 H5PContentValidator:validateGroup in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:3621 #12 H5PContentValidator:validateGroup in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:3714 #11 H5PContentValidator:validateLibrary in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/vendor/h5p/h5p-core/h5p.classes.php:1939 #10 H5PCore:filterParameters in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/classes/H5P/class.ilH5PShowContent.php:250 #9 ilH5PShowContent:getContent in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/classes/H5P/class.ilH5PShowContent.php:226 #8 ilH5PShowContent:getH5PContentIntegration in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/classes/H5P/class.ilH5PShowContent.php:201 #7 ilH5PShowContent:getH5PContentsIntegration in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/classes/class.ilObjH5PGUI.php:463 #6 ilObjH5PGUI:showContents in /var/www/html/thkoeln/Customizing/global/plugins/Services/Repository/RepositoryObject/H5P/classes/class.ilObjH5PGUI.php:106 #5 ilObjH5PGUI:performCommand in /var/www/html/thkoeln/Services/Repository/classes/class.ilObjectPluginGUI.php:174 #4 ilObjectPluginGUI:executeCommand in /var/www/html/thkoeln/Services/UICore/classes/class.ilCtrl.php:197 #3 ilCtrl:forwardCommand in /var/www/html/thkoeln/Services/Repository/classes/class.ilObjPluginDispatchGUI.php:46 #2 ilObjPluginDispatchGUI:executeCommand in /var/www/html/thkoeln/Services/UICore/classes/class.ilCtrl.php:197 #1 ilCtrl:forwardCommand in /var/www/html/thkoeln/Services/UICore/classes/class.ilCtrl.php:159 #0 ilCtrl:callBaseClass in /var/www/html/thkoeln/ilias.php:21 -- GET Data -- ref_id : 348 cmd : showContents cmdClass : ilobjh5pgui cmdNode : mr:lm baseClass : ilObjPluginDispatchGUI lang : de limit : 50

 

Further Info:

Plattform: ILIAS 5.3

Browser: All

H5P Plugin version: 1.0 -> https://github.com/studer-raimann/H5P

Content-Type: Interactive Video with YouTube URL, 1.17.5

Content types: 
otacke's picture

Hi!

Joubel unfortunately has zero experience with the ILIAS plugin so far, because we were not involved in its creation. Also we couldn't even tell if it's a problem in H5P or the plugin for ILIAS. Your best chance for support right now is probably contacting studer+raimann.

Best,
Oliver