Activities: Interactive Content – H5P

mod_hvp
Maintained by Picture of Frode Petterson Frode Petterson, Picture of Thomas Marstrander Thomas Marstrander, Picture of Pål Jørgensen Pål Jørgensen, Picture of Svein-Tore Griff With Svein-Tore Griff With
Create and add rich content inside your LMS for free. Some examples of what you get with H5P are Interactive Video, Quizzes, Collage and Timeline.
5180 sites
8k downloads
166 fans
Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4

One of the great benefits with using H5P is that it gives you access to lots of different interactive content types.

Another great benefit with H5P is that it allows you to easily share and reuse content. To reuse content, you just download the H5P you would like to edit and make your changes – e.g. translate to a new language or adjust it to a new situation.

H5P is:

  • Open Source
  • Free to Use
  • HTML5
  • Responsive

Note that it is currently possible for people with programming skills to cheat in H5P interactions and obtain the full score without knowing the correct answers. H5Ps must not be used for exams or similar.

The H5P community is actively contributing to improve H5P. Updates and new features are continuously made available on the community portal H5P.org.

View our setup for Moodle to get information on how to get started with H5P.

Sets

This plugin is part of set Gamification.

Potential privacy issues

The plugin is set up to automatically download content types and provide anonymous usage data which can be disabled through settings.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Frode Petterson
Frode Petterson (Lead maintainer)
Picture of Thomas Marstrander
Thomas Marstrander: Developer
Picture of Pål Jørgensen
Pål Jørgensen: Developer
Picture of Svein-Tore Griff With
Svein-Tore Griff With: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Thomas Marstrander
    Mon, 22 Jan 2018, 11:44 PM
    Hi, your previously installed H5P plugin has not been cleaned up properly, so there are still tables with H5P data left in your database.
    H5P expects these tables to not be defined so you need to backup any old data you have in these tables if you want to keep the data, then remove the tables specified in the error message (mdl_hvp, mdl_hvp_content, mdl_hvp_libraries, mdl_hvp_libraries_languages, mdl_hvp_libraries_cachedassets, etc.) and then try to install H5P again.
    ​Best regards, Thomas
  • Picture of Kaspar Bredahl Rasmussen
    Wed, 31 Jan 2018, 6:41 PM
    We have a problem with h5p and another plugin - Sharing cart. When we use sharing cart with h5p then the sharing functionality is extremely slow (like 5 minutes to put a H5P activity in your cart. All other activities are imported and shared without problem, so it's the combination between sharing cart and H5P that causes trouble.
    I don't know if the issue is with H5P or Sharing cart ...
  • Picture of Thomas Marstrander
    Mon, 5 Feb 2018, 8:43 PM
    Hi Kaspar, what version of H5P are you using ? Make sure you're using the 1.2 version or higher as it introduced great performance enhancements to the "import" logic of H5P, which I believe is what sharing cart is using. You say that putting an H5P activity in your cart takes 5 minutes, I believe sharing cart could improve their logic here by only doing the "importing" when all items are chosen, which would increase the performance greatly. H5P is also inherently quite slow at importing courses because content types has to be copied with all connected libraries in order to work as a standalone package. If you have any further questions please post them at the h5p.org forums ( https://h5p.org/forum ) which is a better suited medium for support tickets. Thanks.
  • Picture of Thomas Marstrander
    Mon, 19 Feb 2018, 6:01 PM
    Hi Cristian, this is an international board, so please post in English. For your question, httpswwwroot should always be the same as wwwroot, is there any reason why they are different on your setup ? Also, please post any further questions on the H5P.org forum ( https://h5p.org/forum/10 ), which is better suited for support tickets. Thanks.
  • Picture of JoJo Magno
    Wed, 7 Mar 2018, 2:20 AM
    Hello, I am having trouble editing Slide Titles in Course Presentation. Either the editing button (pencil icon) does nothing, or the edit I make to, for example, Slide 6, applies to all slides. Editing one at a time, saving and exiting, then returning to edit seems to help but only a little. Also, very time consuming. Any suggestions? Latest download, running on Moodle 3.3.
  • Picture of Gary Lynch
    Thu, 8 Mar 2018, 10:19 PM
    Hi
    Will H5P support vimeo links in the future or just Youtube?
  • Picture of Thomas Marstrander
    Mon, 12 Mar 2018, 5:37 PM
    Hi Gary, H5P supports all directly linked videos or streams. You can get this from Vimeo pro. Last time we checked the Vimeo APIs does not support getting access to the source, so we can't currently support it due to their interface. For more info see the H5P forums: https://h5p.org/node/14258
  • Picture of Gary Lynch
    Tue, 13 Mar 2018, 10:47 PM
    Thanks Thomas.
    Here is our senario.. We use vimeo (pro) account.. we hide our videos on our account and allow access only to our moodle site url. When we paste the vimeo direct url the plugin comes back with Unknown Video format. We are trying to avoid direct upload to our moodle instance. checked the link you provide (thank you) but not very helpful. Can our senario work?
  • Picture of Thomas Marstrander
    Thu, 15 Mar 2018, 9:57 PM
    Hi Gary, You can try the following https://h5p.org/comment/8829#comment-8829, it should give you a direct path/URL to the video so you can avoid direct upload to Moodle. What video format is the video you're using ? I know some users have added a "helper"/hint so H5P can understand what kind of video format it is, see https://github.com/h5p/h5p-interactive-video/issues/8#issuecomment-157645739 for instance, where it is suggested to add #.mp4 at the end of the url. Hope this helps. If you run into more trouble please post a message on the H5P.org forums where it is more likely that you'll get help quicker, rather than in this comment field. Best of luck, Thomas
  • Picture of Dinis Medeiros
    Tue, 20 Mar 2018, 7:35 AM
    How can i upload PT european translation? Can i send it by email?
  • Picture of Thomas Marstrander
    Fri, 23 Mar 2018, 9:12 PM
    Hi Dinis, this depends on what you're translating. You can find all info on contributing translations in our contribution guide: https://h5p.org/contributing
  • Picture of Iván Sibillà
    Tue, 10 Apr 2018, 7:16 PM
    Hello,

    Infrastructure:
    - Moodle 3.4.1
    - php-7.1
    - oracle 11g
    - H5P (mod_hvp_moodle34_2018012200.zip)

    We found an error at the time of performing the SQL query to show the results: Error: ORA-00979 (http://www.dba-oracle.com/t_ora_00979_not_a_group_by_expression.htm)

    And we have modified the following lines: /hvp/classes/results.php

    > IN LINE 194:
    // parser $fields
    $fieldsgroup = preg_replace("/AS [a-zA-Z_]*\, /", ", " ,$fields);

    > IN LINE 199
    //$groupby = ' GROUP BY g.id, u.id, i.iteminstance, x.id';
    $groupby = ' GROUP BY g.id, '. $fieldsgroup .' g.rawgrade, g.rawgrademax, g.timemodified, x.id, i.iteminstance';

    > IN LINE 212
    x.id as xapiid,
    i.iteminstance

    The modifications would look like this:
    --
    // parser $fields
    $fieldsgroup = preg_replace("/AS [a-zA-Z_]*\, /", ", " ,$fields);

    // Join on xAPI results.
    $join .= ' LEFT JOIN {hvp_xapi_results} x ON i.iteminstance = x.content_id AND g.userid = x.user_id';
    //$groupby = ' GROUP BY g.id, u.id, i.iteminstance, x.id';
    $groupby = ' GROUP BY g.id, '. $fieldsgroup .' g.rawgrade, g.rawgrademax, g.timemodified, x.id, i.iteminstance';

    // Get from statement.
    $from = $this->get_from_sql();

    // Execute query and get results.
    return $this->get_sql_results("
    SELECT g.id,
    {$fields}
    g.rawgrade,
    g.rawgrademax,
    g.timemodified,
    x.id as xapiid,
    i.iteminstance
    {$from}
    {$join}
    {$where}
    {$groupby}
    {$orderby}
    ", $args,
    $this->offset,
    $this->limit);
    }
    --

    We would like the H5P team to review the code, confirm that the modification is correct (if there is another more optimal query, we would appreciate being told) and that it will be applied for future versions.

    Thank you so much for everything.

    Sincerely,

    Iván Sibillà

    P.S. Is there any way to access the results without having to go through the "Gradebook"?
  • Picture of Thomas Marstrander
    Wed, 11 Apr 2018, 3:58 PM
    Hi,
    At first glance it seems reasonable that the groupby should contain the same fields as the select, however I'd like to have a closer look at this to see if the details makes sense.
    Could you please make a pull request for this at the github page for the H5P Moodle plugin ( https://github.com/h5p/h5p-moodle-plugin ), or post in our bug request forum (on h5p.org) which is a more suitable medium for resolving the issue than this comment field. I'll make an issue for reviewing and fixing this when it is into the system.
    The results are stored using the Gradebook, so they must be accessed from there as well. Is there a particular reason why you would not want to go through the gradebook ?
    Thanks for reporting this, and best regards, Thomas.
  • Picture of Miguel ARBELAEZ TORRES
    Wed, 18 Apr 2018, 1:42 AM
    Hello Thomas, i installed H5P and everything worked perfectly, the problem was when i tried to use a theme called "Moove", the CSS dissappeared completely, i wonder how do i fix this or if theres any compatible theme that works with H5P. Thanks!
  • Picture of Thomas Marstrander
    Thu, 19 Apr 2018, 7:07 PM
    Hi Miguel,
    I just tested H5P with the "Moove" theme, and it looks like normal H5Ps works just fine, could you be more specific about what is failing, and create an issue for it in the H5P.org forums: https://h5p.org/forum/11, which is better suited for handling support requests then this comment field. H5P should be built to be compatible with most themes.
    Thanks, Thomas
1 2 3 4 5 6 7 8 9
Please login to post comments