H5P Filter

Filters ::: filter_h5p
Maintained by Robert Schrenk, Zentrum für Lernmanagement, Andreas Riepl
This filter adds the possibility to get h5p content being automatically embedded in textfields based on the activityname.
Latest release:
1285 sites
149 downloads
42 fans
Current versions available: 3

This filter adds the possibility to get h5p content being automatically embedded in textfields based on the activityname.

In order to use this filter you have to activate it after installation and ensure that it is listed above the 'Activity names auto-linking' filter. If you have created an interactive content using h5p you can embed it anywhere in the course you like by using the syntax {h5p:activity name}.

Example:

  1. Create an interactive Video with the name "My interactive Video"
  2. (optional) Set the visibility to "available but not shown on course page"
  3. Enter in any textfield the following pattern {h5p:My interactive Video}
It will be embedded automatically and the results will be graded in your course.

Please note, that the activity name is case sensitive!

Screenshots

Screenshot #0

Contributors

Robert Schrenk (Lead maintainer)
Zentrum für Lernmanagement
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Robert Schrenk
    Tue, 21 Apr 2020, 4:42 PM
    Hello, we used it in Moodle 3.5.6 and upgraded without any issue to 3.5.11 recentlry. Do you have any error messages that appear? Perhaps you should consider to activate debugging messages to see what is going wrong.
  • Trille
    Tue, 22 Jun 2021, 1:37 PM
    Hi Robert.
    Very useful filter - thanks.
    Any plans for an upgrade for Moodle 3.10 or 3.11?
    Thanks a lot!
  • Robert Schrenk
    Tue, 22 Jun 2021, 5:26 PM
    Hello, you can safely use this plugin also in Moodle 3.10 and Moodle 3.11. We will support this plugin at least until next year, but currently there are no major issues that require an actual update.
  • Robert Schrenk
    Tue, 22 Jun 2021, 11:54 PM
    Hello, I updated the plugin so that it shows it supports Moodle 3.10 and Moodle 3.11 too.
  • Jeff White
    Wed, 15 Sep 2021, 2:21 AM
    Seems in Moodle 3.11.3 (Build: 20210913) Apache will produce a error 500 and php error logs will give this error message: PHP Fatal error: Cannot redeclare core_h5p_pluginfile() (previously declared in moodle/h5p/lib.php:44) in moodle/filter/h5p/lib.php on line 44
  • Robert Schrenk
    Wed, 15 Sep 2021, 6:25 PM
    Are you sure you are using my plugin? My code does not even has a lib.php (https://github.com/center-for-learning-management/moodle-filter_h5p) nor does it contain this string (https://github.com/center-for-learning-management/moodle-filter_h5p/search?q=core_h5p_pluginfile)
  • Jeff White
    Thu, 16 Sep 2021, 11:35 PM
    Looks like you are right. I deleted the plugin moodle/filter/h5p and that seemed to have cleared up the issue but now when I try to reproduce the error by putting it back in the issue does not occur. So not sure what was going on then :/
  • Roberto Sbravati
    Mon, 25 Oct 2021, 2:59 PM
    Interactive video full screen problem on iphone.

    On browser pc, iPad, Android devices everything is ok. But on iphone and only on iphone the full screen does not work. The button is pressed and does nothing. It doesn't even change in the version that appears when the iframe is active (with the arrows pointing inward). I think the problem is "nested iFrame" (one of the plugin and one of h5p)
    My release: Interactive Video library release 1.22.4

    It's complicated! Can anything be done?

    Thank you!

    Roberto
  • Robert Schrenk
    Tue, 16 Nov 2021, 11:09 PM
    Please use the bugtracker https://github.com/rschrenk/moodle-filter_h5p/issues for posting bugs.
  • Arturo Rodriguez
    Fri, 8 Apr 2022, 8:51 PM
    Are there any plans to update this for Moodle 4.0?
  • Robert Schrenk
    Tue, 12 Apr 2022, 8:30 PM
    There is no reason why it should not work with Moodle 4. An Update of the version.php only makes sense after Moodle 4 is released officially.
  • Wiebke Müller
    Mon, 12 Dec 2022, 7:31 PM
    Dear Robert, any news on this? We would strongly recommend to update the plugin hence all moodle infrastructure (at least within our University) formally requires an official "moodle 4.X" label to be taken into account also in future. And we would really like to use your plugin. Please feel free to contact us for direct exchange if there is anything we can do to further the maintenance of the plugin. Best regards, Wiebke (PS Congratulations to your change of positiion to Bundesministerium!)
  • P H
    Fri, 16 Dec 2022, 6:28 PM
    Hello. Will there be a new version compatible with Moodle 4.1 available soon? Regards.
  • Julia Laßnig
    Sat, 17 Dec 2022, 10:39 PM
    We are working on the Moodle 4.1 update and checking the compatibility of all our plugins with Moodle 4.1. However, due to limited resources it might still take some time, till the update is available.
  • Sandra Janisch
    Tue, 13 Feb 2024, 12:08 AM
    The PlugIn works on Moodle 4.X with the H5P-plugin. @Catherine Mclean do you use the h5p-core-activity?
1 2 3
Please login to post comments