Filters: H5P Filter

filter_h5p
Maintained by Picture of Robert SchrenkRobert Schrenk
This filter adds the possibility to get h5p content being automatically embedded in textfields based on the activityname.
412 sites
486 downloads
19 fans
Current versions available: 1

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

Picture of Robert Schrenk
Robert Schrenk (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Picture of Plugins bot
    Wed, Dec 12, 2018, 9:45 PM
    Approval issue created: CONTRIB-7565
  • Picture of Jez H
    Fri, Feb 15, 2019, 11:59 PM
    Brilliant idea for a filter, thanks for creating / releasing this!
  • Picture of Robert Schrenk
    Sat, Feb 16, 2019, 12:21 AM
    Thank you for that great feedback wink
  • Health & Safety Training Ninja
    Fri, Apr 12, 2019, 7:59 PM
    This does exactly what I suggested here: https://h5p.org/comment/6664#comment-6664 & here: https://h5p.org/comment/5985#comment-5985 - I'm impressed! I'm guessing this only works inside the same course the H5P activity was created and is probably not usable across courses?
  • Picture of Robert Schrenk
    Fri, Apr 12, 2019, 10:22 PM
    Hello, yes, it is only intended to work within the same course.
  • Randy Thornton
    Wed, Jun 5, 2019, 2:50 AM
    Excellent filter. Many thanks for this. It solves an important problem when using H5P. Combined with stealth activities it is very powerful.
  • Picture of Josep Mulet Pol
    Fri, Jun 21, 2019, 1:53 PM
    A very useful filter. Is there a simple way to remove the frameborder around the embed?
  • Picture of Robert Schrenk
    Tue, Jun 25, 2019, 1:53 PM
    Hello, no big deal. I added Version 1.1 that fixes this.
  • Picture of Joseph Rézeau
    Sat, Sep 7, 2019, 10:54 PM
    Hi Robert,
    I do not see the advantage of your filter plugin over the embedding method. Your filter only places a link to an H5P content inside a textfield. Once the link is clicked, all connection with the original page is lost.
    IMHO the embedding method is much better.
  • Picture of Robert Schrenk
    Sat, Sep 7, 2019, 10:57 PM
    Hello, if you embed the H5P-Content in a text as a static URL (e.g. in a book) and you copy the resource to another course then the URL will not change. This is problematic if you use the H5P together with gradings and conditions. The filter only ensures that the H5P-Resource is taken from the correct (the current) course. Therefore it really has an advantage wink What do you mean by "all connection with the original page is lost"? Kind regards
  • Picture of Joseph Rézeau
    Sat, Sep 7, 2019, 11:12 PM
    @Robert, I expect each method has its own advantages & drawbacks. And I have not experimented with gradings & conditions...
    What I mean is that, if you use your filter to insert a link to an H5P content inside e.g. a Moodle page, once you have clicked on that link you navigate away from that page and there is no obvious way to come back.
  • Picture of Joseph Rézeau
    Sun, Sep 8, 2019, 5:14 AM
    @Robert,
    I'm sorry I had missed "...ensure that it is listed above the "link activites"-filter" in your instructions. I am pleased to report that your filter works fine, just as expected!
    Actually, your instructions should read "...ensure that it is listed above the 'Activity names auto-linking' filter"
    Thanks for a very useful filter/plugin!
  • Picture of Robert Schrenk
    Mon, Sep 9, 2019, 4:13 PM
    ok - did so.
  • Picture of Brad Nielsen
    Thu, Sep 12, 2019, 7:06 AM
    It would be awesome if there could be an H5P button in the Atto editor, and it allowed you to choose which type of H5P activity to create and embedd.
  • Picture of Robert Schrenk
    Thu, Sep 12, 2019, 2:23 PM
    Hello, this would indeed be nice.
Please login to post comments