The core_h5p player (/h5p/embed.php) expects url's to be formatted using slash arguments.
A valid h5p iframe src= could look something like this:
http://nucky.fritz.box/h5p_skel/h5p/embed.php?url=http://nucky.fritz.box/h5p_skel/pluginfile.php/31/mod_resource/content/1/arithmetic-quiz.h5p&export=1 |
When Moodle's global setting $CFG->slasharguments = false
The url param changes from
http://nucky.fritz.box/h5p_skel/pluginfile.php/31/mod_resource/content/1/arithmetic-quiz.h5p |
to
http://nucky.fritz.box/h5p_skel/pluginfile.php?file=%2F31%2Fmod_resource%2Fcontent%2F2%2Farithmetic-quiz.h5p |
The player needs to be updated to allow URL's without slasharguments
- duplicates
-
MDL-77963 h5pactivity - H5P file not found (invalid contextid) if "Use slash arguments" is turned off
- Closed
- is child of
-
MDL-66609 Create the basic skeleton, library and interfaces for rendering H5P content
- Closed
- is duplicated by
-
MDL-74538 H5P - Error occurs while delete an empty course with existing content bank
- Closed