Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Customize Drag & Drop to test quantity.

Forums: 

Hello H5P community,

 

I need to hire a developer to customize the content type Drag & Drop. I need it to be able to test quantity instead of a right or wrong answer. 

Ideally, a dropzone would be given a number of draggables to be dropped in. If the number of draggables is met the dropzone will return correct.

The draggables will be all equal, however, we will not be using the "Infinite number of element instances", instead, we will be adding as many draggables as required to fill the dropzones. 

 

Set default Library in selector (drupal 8)

Forums: 

I'd like to set the default library = "Interactive Video" and hide the "Content Type" selector or hub.

In a custom module, I can get my JS to run once the library has been chosen from the Select list:

function h5pmods_h5p_scripts_alter(&$scripts, & $libraries, $mode) {
  if ($mode == 'editor') {
    $styles[] = (object) array(
      'path' => drupal_get_path('module', 'h5pmods') . '/h5p-editor-overrides.js',
      'version' => '?ver=1',
    );
  }
}

 

Can't get Math Display to load

Forums: 

 

Hi,

I'm new to developing for H5P and have just set up a local developement server (H5P 7.x-1.46) using drupal 7.67 / xampp on Windows 10. I am trying to enable latex for equation display as described here =>  https://h5p.org/mathematical-expressions

I have downloaded h5p-math-display-1.0.5.h5p but when I try to upload the library I get the following:

Pages