Find The Words Cannot be Viewed

kburakozdemir
Forums
hi, i am working on a project based on Opigno LMS (https://www.drupal.org/project/opigno_lms). I create activities on /admin/structure/opigno-activities I created an activity with H5P Find The Words ( https://h5p.org/find-the-words), however it does not show when I view the activity. screenshot 1 (content (activity) creation) --> https://yadi.sk/i/w2tIPhswC-2GzQ screenshot 2 (the error) --> https://yadi.sk/i/Q5djn19ZHLOX_w In the console there is an error... Uncaught TypeError: Cannot read property 'prototype' of undefined at h5p-find-the-words-timer.js?py8ya6:44 at h5p-find-the-words-timer.js?py8ya6:47 h5p-find-the-words-timer.js?py8ya6:13 Uncaught TypeError: Cannot read property 'call' of undefined at new FindTheWords.Timer (h5p-find-the-words-timer.js?py8ya6:13) at FindTheWords.H5P.FindTheWords.FindTheWords.registerDOMElements (h5p-find-the-words.js?py8ya6:158) at new FindTheWords (h5p-find-the-words.js?py8ya6:65) at Object.H5P.newRunnable (h5p.js?v=1.0:916) at HTMLDivElement. (h5p.js?v=1.0:137) at Function.each (jquery.js?v=1.9.1:2) at init.each (jquery.js?v=1.9.1:2) at Object.H5P.init (h5p.js?v=1.0:93) at HTMLDocument. (h5p.js?v=1.0:2797) at c (jquery.js?v=1.9.1:2) I investigate this issue in 2 ways: I installed a clean drupal 8 core and install standalone h5p module (https://www.drupal.org/project/h5p) Then I create a content with Find The Words and it works. scrrenshot --> https://yadi.sk/i/oAsTLmUYhahdOg Then I updated the h5p module in Opigno from "drupal/h5p 1.0.0-rc14 to 1.0.0-rc16 Drupal H5P Module." via composer Tested the activity page and it does not work. the error is the same as above... Any recommendations about this? thanks
nikolay

Find The Words Cannot be Viewed

Hi kburakozdemir, "Find the Words" h5p library is not included in the Opigno out of the box. So, you need to download it manually. If you did that and it doesn't work you should to check if the library is installed (you can find it in folder _sites/default/files/h5p/libraries_). If library is installed check if there is no other libraries that should be updated and update them (go to the page _admin/content/h5p_) Best regards.