Vous n'êtes pas identifié(e). Pour pouvoir écrire ou répondre à un message, vous devez vous connecter ou vous créer un compte sur JAWA.
I tried to embed an externa quiz website as follows:
plugin:https://h5p.org/node/1073494 :1:400:400
and got grey popup waiting screen (blue circles turning around)
When I inspect my source I see that the source for the iframe is: src="https"
This is due to the colon in the url I guess.
How can I solve this?
<div id="pluginBox" data-html2canvas-ignore="true" style="opacity: 1; display: block; transform: scale(1);">
<div id="loadplugin" style="opacity: 1;"><img src="./pics/loading.gif"></div>
<div id="errplugin">Error : Sorry, this external content seems impossible to load.<br><br><a id="pluginexternalwindow" target="_blank" href="https">Open this content in a new window</a></div>
<iframe id="pluginFrame" frameborder="0" src="https" style="left: 511px; top: 88px; width: 1px; height: 400px; transform: scale(1);"></iframe><a class="bouton" id="pluginNextButton" onclick="jawaClosePlugin()" style="display: block;">CONTINUE</a>
</div>
Hors ligne
hello
The plugin effect requires the html code of the external content to be stored inside the the local plugin storage of the game (which is only available on licensed games)
To show an external content inside a game, use the specific "url," subsyntax of the message effect
message:url,<the external url>,<width>,<height> (,<opacity>)
example :
message:url,https://h5p.org/node/1073494,400,400
(but sometime, the distant server prevents its contents to be embeded. Also, any embeded content must be served over https)
Great, this works like charm!
Hors ligne