Installation and server related problems

Discuss problems with installing the H5P plugins/modules and content types as well as server-related issues

No embedded content displayed

Embedding h5p content doesn't work in browsers which have 3rd party cookies blocked (it's a native browser setting, not an addon, tested in Chrome and FF). The console displays error: "h5p-x-api-event.js?o721st:191 Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document." The script is trying to access localStorage, which results in error. Maybe wrap it in try/catch or use cookies?

WordPress: Problem adding new content

Just installed H5P on WordPress. Install seemed to go fine, everything seems to work except the actual adding of new content.

When I try to add any new content, where the visual editor should be, I just get a line like:

[field:group:wizard:question]

or

[field:group:wizard:interactiveVideo]

The visual editor is missing; I guess that [field... line is supposed to be replaced by the editor code. I still see the accordion tabs for "Settings for "Show solution" button and "Retry" and "Settings and texts".

php warning after wordpress plugin update 1.6.0 and 1.6.1

Hi,

After wp h5p plugin udpate (1.6.0 and 1.6.1) php warning occured:
"Warning: Invalid argument supplied for foreach() in my-site-dir/wp-content/plugins/h5p/public/class-h5p-plugin.php on line 859"

WP - 4.4.2

PHP - 5.4.45, memory limit -256 mb

Possible to fix by adding array() into foreach() in line 859: foreach ((array)$assets['styles'] as $style) {

 

Best regards!

 

Pages