Course Presentation not displayed anymore in WordPress

There is a problem with two H5P Course Presentations:
The user opens the the page and there is no H5P content displayed but a grey line. All other Course Presentations work well.
Unfortunately it is not clear since when the problem exist. Propably it was first detected in January but we do not check all our H5P contents regularly.

Platform: WordPress 4.9.5

Browser: Firefox 57.0.2 and Safari (both Mobile and Desktop)

H5P plugin version 1.10.1

H5P content type and version:
Course Presentation (1.17.9)
Course Presentation Editor (1.17.6)
Both Course Presentations were created in September 2016 and were updated regularly.

Example URL
https://www.ruvival.de/siting-and-design/

Browser console errors:

JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js:2:542
TypeError: qualities[currentQuality] is undefined
[Weitere Informationen]
393381fb313212beb539286d9a286478b117e461.js:783:5
Html5
https://www.ruvival.de/wp-content/uploads/h5p/cachedassets/393381fb31321...
Video
https://www.ruvival.de/wp-content/uploads/h5p/cachedassets/393381fb31321...
H5P.newRunnable
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/h5p.js:...
g.prototype.addElement
https://www.ruvival.de/wp-content/uploads/h5p/cachedassets/393381fb31321...
g.prototype.addElements
https://www.ruvival.de/wp-content/uploads/h5p/cachedassets/393381fb31321...
g.prototype.createSlides
https://www.ruvival.de/wp-content/uploads/h5p/cachedassets/393381fb31321...
g.prototype.attach
https://www.ruvival.de/wp-content/uploads/h5p/cachedassets/393381fb31321...
H5P.newRunnable
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/h5p.js:...
H5P.init/$containers<
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/h5p.js:...
each
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/jquery....
each
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/jquery....
H5P.init
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/h5p.js:...
<anonym>
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/h5p.js:...
c
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/jquery....
fireWith
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/jquery....
ready
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/jquery....
H
https://www.ruvival.de/wp-content/plugins/h5p/h5p-php-library/js/jquery....

Content types: 
otacke's picture

Hi Tina!

In general, it's hard to tell without having direct access to the files, but luckily (in this case) your server is configured insecurely, and I could get to the file.

The Course Presentation (content id 25 on your system) contains invalid links to YouTube videos (e.g. https://www.youtube.com/Sp4G1L1-BR0 which could be https://youtube.be/Sp4G1L1-BR0 or https://www.youtube.com/watch?v=Sp4G1L1-BR0 or something else that obeys to YouTube's URL scheme). The H5P Editor itself does not allow this wrong scheme, but will show a "video unknown" message instead. That made me a little suspicious. "We need to go deeper."

I found that the file with content id 26 (Housing 2/Eco-Houses in different Climates Part 2) on your system suffers from the same problem. I also found that there's not only a directory 25 or 26 (which hold the H5P content), but also directories called 25.XXX and 26.XXX which were not created by H5P. I assume that someone (Konstantin?) experimented and broke something? Anyway, I have fixed the files and will send them to you right away.

You may want to inform your IT that they should fix the access rights to the WordPress folders. You may also want to inform someone (at Universitätskolleg UniHH), that some of their H5P patches might not be working as expected.

Best,
Oliver