H5P shortcode not working anymore for any content
-
The shortcode for puzzles/quizzes H5P content is no longer working. Empty rows are displayed on the posts/pages where the shortcode is added.
– I also noticed the following debug error but am not certain if this is related:
Constant FILTER_SANITIZE_STRING is deprecated in /../wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
– To reproduce the error I have also attempted to create new blog posts with a H5P shortcode for existing content, but it does not show when published.
– Also, all existing H5P content is visible in the backend and can be edited.
– I have disabled the cache as well.
– An inspection of the rendered code for an embedded H5P content item using a shortcode, shows the following:
<iframe id="h5p-iframe-32" class="h5p-iframe h5p-initialized" data-content-id="32" style="height:1px" src="about:blank" frameborder="0" scrolling="no" title="Do you know these cozy skiing resorts in Europe?"></iframe>
Can you please assist?
PHP version: 8.1
Wordpress version: 6.1.1
I have verified that the H5P plugin is updated to the latest version.
- The topic ‘H5P shortcode not working anymore for any content’ is closed to new replies.