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.

#1 19-12-2022 13:34:23

spook1
Membre
Inscription : 12-02-2018

embedding url using plugin does not recognize https:// ✓

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

#2 19-12-2022 16:25:58

jawa
Admin

Re : embedding url using plugin does not recognize https:// &check;

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)

#3 20-12-2022 15:01:34

spook1
Membre
Inscription : 12-02-2018

Re : embedding url using plugin does not recognize https:// &check;

Great, this works like charm!

Hors ligne

Pied de page des forums