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:
Code normal:
<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 (?)
regards
Thomas from Berlin (teacher)
BV52
Mon, 05/14/2018 - 04:36
Permalink
Hi Thomas,Afaik the h5p
Hi Thomas,
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.
-BV52
seidelx
Sun, 05/27/2018 - 16:37
Permalink
both codes included
Hi BV52,
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.
thomas
icc
Thu, 05/31/2018 - 10:57
Permalink
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.
seidelx
Thu, 05/31/2018 - 15:04
Permalink
resizer
thank you! I will still gain experience....
junber
Tue, 11/07/2023 - 04:27
Permalink
expliquenme por favor
expliquenme por favor
junber
Tue, 11/07/2023 - 04:28
Permalink
Perdido
Exolicarme