Questions tagged [h5p]

17 questions
2
votes
0 answers

how to add my own h5p interactive video in h5p in moodle

I tried to find the solution to my question everywhere without a result. Let me explain the problem. I have a moodle docker. We can install H5P there by following these steps in: https://github.com/h5p/moodle-mod_hvp Now we can manually install the…
1
vote
0 answers

JS: iFrame contentWindow returns null

I want to call a function when a button within an iframe is clicked, but I am already having problems accessing the iframe document. First, I followed this video, but null is returned when the function is called. The iFrame's content is hosted on…
1
vote
0 answers

H5P sending results to Moodle

I am very much puzzled about using H5P in Moodle. The idea is great, obviously, yet I cannot make it work as I expected. My principles/idea: There are bunch of activities in each course Each activity can build up several Student's skills, say…
Greg Bialowas
  • 153
  • 2
  • 19
0
votes
0 answers

I am working on an LMS developed using django drf and react.now I have to implement LTI 1.3 for using services of H5P

LTI integration with LMS I am working on an LMS which is developed using django drf and react js now I have to implement LTI integration for using services of H5P. I read the documents but there is not much clear that how LTI Integrate with LMS need…
0
votes
0 answers

Read file placed in external storage from js in MAUI Blazor

What I have did so far, write a function to get the path of file [JSInvokable] public async static Task GetPath() { return FileSystem.AppDataDirectory+ "/contents/interactive_video"; } in my js file called this async function play()…
XTOO
  • 33
  • 6
0
votes
0 answers

Is it possible to override module CSS in Drupal 7 without modifying actual CSS files?

i have installed Drupal 7 and want to override css of specific tag of h5p CSS but can you help me to solve this issue. want to override the CSS file of module without modifying actual CSS files. I have created custom module but with the help of…
rakesh
  • 1
  • 2
0
votes
0 answers

H5P Instance is duplicated in reactjs

I'm developing with h5p standalone plugin in react (nextjs), passing the path as prop to a Modal Component which render the h5p activity. useEffect(() => { const initH5p = async (contentLocation) => { const { H5P: H5PStandalone } =…
0
votes
1 answer

H5P content error - on trying to edit in Moodle

In Moodle, I created a new H5P "activity", and then uploaded a reusable template of the crossword from the H5P site. On trying to open the settings and EDIT the content of this crossword (and also the essay writing feature), I got the following…
Compoot
  • 2,227
  • 6
  • 31
  • 63
0
votes
1 answer

H5P-standalone logging xapi events with ReactJs?

I'm implementing h5p's with reactjs, I'm able to play the h5p player, however i'm unable to view the events with the externalDispatcher.on("xAPI", (event)... command. How can i log the event of a h5p in reactjs Error message: Cannot read properties…
ACoding
  • 1
  • 1
0
votes
1 answer

Embed H5P from Wordpress to R Bookdown

I try to add interactive H5P features to my bookdown. You can see them on this bookdown https://www.bookdown.org/pbaumgartner/itns-exercises/chapter-01.html See how the author embeds H5P elements hosted on his Wordpress site…
Marco
  • 2,368
  • 6
  • 22
  • 48
0
votes
2 answers

h5p-standalone with ReactJS?

I'm currently trying to implement package h5p-standalone with ReactJS Below is my code import { useEffect } from "react"; import "./App.css"; import { H5P } from "h5p-standalone"; function App() { useEffect(() => { const el =…
Danh Dao
  • 11
  • 1
0
votes
1 answer

H5P: Unknown environment 'table'

I try to add a table in my H5P exercise using latex. As mentioned here I am using the '$$' notation in front of the latex code but I also tried the '( ... )' notation. However, I always get the following error: Unknown environment 'table' This is…
threxx
  • 1,213
  • 1
  • 31
  • 59
0
votes
1 answer

cartridge xml [IMSCC] how to included the H5P file in moodle?

I have issue while creating cartridge XML package for moodle, It doesn't support H5P format. When i import the package into moodle, it shows h5p not found in package.
0
votes
2 answers

MOODLE: What does it mean to aggregate h5p assets?

I'm having an issue where my H5P assets are not loading in my 3.11.2 Moodle site. Unable to find constructor for: H5P.CoursePresentation A forum post on the H5P site suggested that I add $CFG->mod_hvp_aggregate_assets = '0'; to the config file on…
Naynay
  • 101
  • 1
  • 4
0
votes
1 answer

How to transform this example into a TypeScript class?

I am currently developing an application for the H5P plug in. As I need to develop something for the H5P editor, I found this documentation on how to implement a widget. /** * Color selector widget module * * @param {H5P.jQuery} $ …
1
2