bug resizer.js in code for presentation
Hello, I think, I found a bug.
If I want to embed a presentation I can download the embed-code. But there ist the resizer.js included, too.
Example from my presentation:
<iframe src="https://h5p.org/h5p/embed/204726" width="498" height="296" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>
Code + Show advanced
<script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>
I hope I could help. Great tool!!!!! I love to work with it! But needed much time, because I tried to configure my presentation for my joomla-blog - and found this bug (?)
Thomas from Berlin (teacher)
Mon, 05/14/2018 - 04:36
Hi Thomas,Afaik the h5p
Afaik the h5p-resizer.js is included in the embed code to make the content adjust to the size of screen (i.e. mobile phones). This is not a bug albeit by design.
Sun, 05/27/2018 - 16:37
both codes included
yes I understand, but the resizer is in both codes included. Sometimes I needed a fixed size (first code? "code normal"?). If I want to adjust an beeing flexible I would use the secon (code "advanced"), so I understood the selection.
Thu, 05/31/2018 - 10:57
It's best to always include
It's best to always include the resizer since you'll be sure that the content fits on your page. If you want to customize the size of the content I recommend wrapping it inside another element, having a max-width, e.g.
Thu, 05/31/2018 - 15:04
thank you! I will still gain experience....