Agamotto Moodle too big

My first attempt with h5p is an Agamotto in Moodle 3.9 but the images are exapanded and the result is too big on screen. Is there any way to control the frame size? I've tried with Iframe but doesnt work. Thank you and sorry for my English

otacke's picture

Hi!

This is not a problem specific to Agamotto, but to H5P in general. It always uses the maximum width that your platform's theme allows. If you want to limit the width, you can simply amend your theme's CSS to limit the width of H5P iframes.

Something such as

.h5p-iframe-wrapper {
  max-width: 50%;
}

should work for both, the H5P plugin for moodle and moodle's core integration of H5P.

Best,

Oliver