IFRAME with H5P
-
Hello,
For a listening test, I need to add an audio file to questions and this file should play automatically. I cannot do this with “ordinary” audio plugins because all audio files in a quiz start playing all together even before the quiz is started.
The solution is to use H5P. I use “Audio” content and – because QSM will not accept H5P shortcodes – I embed this into the QSM question. Everything is fine so far; however, the display is weird. The automatically generated iframe code is this:
<iframe src=”https: // localhost/wp-admin/admin-ajax.php?action=h5p_embed&id=2″ width=”754″ height=”47″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
Yet, there is a huge white gap between the H5P file and the question options. In the image below, I used Text/HTML but the problem is the same for a multiple-choice question:
https://drive.google.com/file/d/11FEuVVuAg1aSFdYPqlGCiiUHueLvMz-Q/view?usp=sharing
I wonder what causes this and whether there is a solution.
Thanks.
- This topic was modified 1 year, 5 months ago by .
The topic ‘IFRAME with H5P’ is closed to new replies.