Memory game in WP plugin
Submitted by HannieK on Thu, 01/12/2023 - 10:46
Forums:
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!
otacke
Thu, 01/12/2023 - 13:43
Permalink
Hi HannieK!Unfurtunately,
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
HannieK
Thu, 01/12/2023 - 15:31
Permalink
Detailed steps to reproduce
- 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.
- Platform and version number. E.g. Drupal, Wordpress, Moodle. - Wordpress, version 6.1.1, Theme - Hello Elementor.
- Mobile or Desktop - Desktop. Didn't try from mobile.
- Browser: Chrome, Firefox, Safari etc - chrome
- H5P plugin version - 1.15.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?
- 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-...)Thanks!
otacke
Thu, 01/12/2023 - 22:56
Permalink
According to the error
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