Memory game in WP plugin

Hi,

I've installed your awesome plugin on my client's site. 

When we create some of the widgets, for example quiz game - all the fields are available. 

But when I try to create a memory game - I only have 1 field, for the title. I don't have any other field to add the game's data. A screenshot is attached.

Do you have any idea why and how to solve it?

Thanks!

Attachments: 
otacke's picture

Hi HannieK!

Unfurtunately, your description including the image doesn't help much. It's a little like saying my car does not start and sending in a picture of that car :-)

Please share more information as described at the top of https://h5p.org/forum/9. It's very likely that your browser's development console (usually opened by pressing F12 except for Safari where things require more effort) will provide you with some error message.

Best,
Oliver

  1. Detailed steps to reproduce the bug (exactly how and when did it happen) - I click on "New content" and then Choose Memory game from the list.
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle. - Wordpress, version 6.1.1, Theme - Hello Elementor.
  3. Mobile or Desktop - Desktop. Didn't try from mobile.
  4. Browser: Chrome, Firefox, Safari etc - chrome
  5. H5P plugin version - 1.15.6
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P. - Memory game. Where do I have the version of the game?
  7. Any browser console errors:
Uncaught DOMException: Failed to construct 'Worker': Access to the script at 'blob:https://abita.co.il/a4bf94c5-ecd0-4cea-8753-0f966ef74918' is denied by the document's Content Security Policy. at new t (https://abita.co.il/wp-content/uploads/h5p/libraries/H5PEditor.AudioReco...) at new e (https://abita.co.il/wp-content/uploads/h5p/libraries/H5PEditor.AudioReco...) at createTabInstance (https://abita.co.il/wp-content/plugins/h5p/h5p-editor-php-library/script...) at H5PEditor.widgets.video.H5PEditor.widgets.audio.H5PEditor.AV.C.appendTo (https://abita.co.il/wp-content/plugins/h5p/h5p-editor-php-library/script...) at ns.processSemanticsChunk (https://abita.co.il/wp-content/plugins/h5p/h5p-editor-php-library/script...) at ns.Group.appendTo (https://abita.co.il/wp-content/plugins/h5p/h5p-editor-php-library/script...) at VerticalTabs.self.addItem (https://abita.co.il/wp-content/uploads/h5p/libraries/H5PEditor.VerticalT...) at List.<anonymous> (https://abita.co.il/wp-content/plugins/h5p/h5p-editor-php-library/script...) at List.call (https://abita.co.il/wp-content/plugins/h5p/h5p-php-library/js/h5p-event-...) at EventDispatcher.trigger (https://abita.co.il/wp-content/plugins/h5p/h5p-php-library/js/h5p-event-...)
  1. Any PHP errors - I don't think we have, or the page wouldn't load.
  2. Screenshots if it's a visual problem - I attached above.
  3. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.) - No. the site is about a year old, and the plugin is recent.
  4. Any recent changes to the browser you're using (new extensions, updates etc.) - No, and also - it happens in both my and the client's computers.

Thanks!

otacke's picture

According to the error message in the console, your servers Content Security Policy is preventing the AudioRecorder widget from working correctly. Setting

worker-src 'self' blob: ;

could help. You should discuss that with your admin though, because CSPs are set for a reason.

Best,

Oliver