H5P editor iframe, width to narrow after upgrade to Moodle 3.8
Submitted by ams on Tue, 02/18/2020 - 20:46
Hi, after an upgrade to Moodle 3.8 from 3.5 the H5P editor iframe was to narrow to edit these kind of item (view attached image), I have temporarily edited the js found in /moodle/html/mod/hvp/editor/scripts/h5peditor-editor.js to force a fixed width to regain usage of this parameter windows.
I use the RemUI theme but had the same issue under boost, if it is a H5P issue, a permanent fix on futur release would be appreciated.
Regards,
Jean-François Marcotte
Summary:
Bug under Moodle
papi Jo
Tue, 02/18/2020 - 23:24
Permalink
Bonjour Jean-François!
Obviously something went wrong when you updated your Moodle site. Are you sure you have the very latest H5P plugin? Your screenshot shows 2 problems:
I suggest you check your H5P Moodle plugin and update to solve your problem.
PS.- Are you no longer subscribed on the Moodle forums?
ams
Tue, 02/25/2020 - 19:49
Permalink
Follow up issue iframe after update to Moodle 3.8
Hi papi Jo,
sorry for not seeing your reply earlier.
1. The mixture english/french is because my user language is set to english and the courses language is force to french, by switching my user language to french everything apear in french, I would expect that to be the normal behavior.
2. Thanks for the screenshot, my H5P modules seem to be at the latest at version 1.20.2 (2020020500) but your hypothesis of something going wrong with the update make sense with the missing option. I had done all module update under Moodle 3.5 and upgraded via a git checkout to Moodle 3.8 and we didn't detected anything wrong with the site after this upgrade, but for the H5P module as I'm fonctionnal with the temporary javascritp fix I could wait for the next update to see if it correct itself with the new feature as you showed me.
Thanks for your help, will post the result once an update of H5P is due/done on this system.
papi Jo
Tue, 02/25/2020 - 15:19
Permalink
@Jean-FrançoisDid my reply
@Jean-François
Did my reply help? Did you solve your problem?
theomh
Mon, 04/27/2020 - 07:47
Permalink
I have the same problem with Moodle 3.7.5 and H5P 1.20.2
Hi papi Jo,
attached you see two screenshots, which shows the iframe which is to small in size for convenient editing. If I add
.h5p-editor-iframe {
width: 1600px!important;
}
to my CSS theme file, then the size is good. See second screenshot.
Maybe this helps...
Thanks for a reply
Andreas
FlorianLH
Tue, 12/08/2020 - 21:33
Permalink
It worked for me ! I love you
It worked for me ! I love you man thanks !
papi Jo
Tue, 04/28/2020 - 12:05
Permalink
Hi Andreas,
Your second screenshot shows that you have the same initial problem as the original poster: you are missing the Enter Full Screen link. Which means that either you don't have the latest version of the H5P plugin or the latest version of Moodle or that something went wrong the last time you updated your Moodle site or the H5P plugin.
cbradley
Wed, 05/06/2020 - 12:13
Permalink
Enter full screen missing for presentations
I'm having a similar issue but I do have the enter full screen option for some question types - just not presentation.
Running Moodle 3.7.5 and Theme is Fordson (but get the same issues if I change to Boost or Classic)
cbradley
Mon, 05/11/2020 - 10:34
Permalink
Fixed - Enter full screen missing for presentations
I was able to find a fix after a couple of attempts.
The issue seemed to be because the course presentation was created with an old version of the tool libraries.
I went to run through the steps to update the library here https://h5p.org/update-all-content-types but still couldn't see the expand icon on the presentation after updating the course presentation library.
To get it to appear I had to export and then import the activity again in Moodle using the steps below
https://h5p.org/documentation/for-authors/import-and-export#download
https://h5p.org/documentation/for-authors/import-and-export#upload
After this the expand icon appeared.