Problems embedding apps

Javier Cayetano Rodríguez shared this problem 5 months ago
In Progress

I am finding problems when using embedded GeoGebra apps.

It is not possible to load some applets (which used to be loaded without any problems). Some of the applets them can still be loaded.

Is there anything wrong with the API? Is there anything I can do?

-----------------------------------------------

For example, I can load resource with id: ja88fwpa, using this code without any problems:

<p><script src="https://www.geogebra.org/ap...;

<div id="ggb-element"></div>

<p><script>

var ggbApp = new GGBApplet({"appName": "graphing", "material_id":"ja88fwpa","width": 675, "height": 417, "showToolBar": false, "showAlgebraInput": false, "showMenuBar": false }, true);

window.addEventListener("load", function() { ggbApp.inject('ggb-element');

});

</script></p>


Neverthless, if I change the material id to some others, like "wg3zneut", this applet is not loaded (and I had not had any problems with it before).

Many applets are being affected by this issue.

Comments (14)

photo
1

Sorry, I can see the problem. As a workaround until we fix this you can use id nbgmhj7j instead


You can find the alter-ego id by looking eg https://api.geogebra.org/v1...

photo
1

Thank you very much, but I have really many activities affected by this issue.

As a matter of fact, I have some OER based on GeoGebra whose activities have stopped working.

On the other hand, some teachers are using eXeLearning to upload self assessing activities as SCORM to moodle, and now they are not working either.

So I guess we need a thorough solution and I will have to make do until the issue is solved.

If there is anything I can do, I will be happy to help.


Thank you very much.

photo
1

Please try now! https://test.geogebra.org/~... is now working.


Please let us know if anything else isn't OK

photo
1

I have checked some applets and everything seems to be "almost" working again.


I am finding problems of visibility for some elements, like polygons:

For example, here:


https://www.geogebra.org/m/bqya86qd


(on GeoGebra)


/CS62JsAAAAASUVORK5CYII=


(using the API. The triangle is not shown)


/pnTfkrAAAAAElFTkSuQmCC

photo
1

And this one


https://www.geogebra.org/m/kgvzcj5v

is not working using the API

photo
1

It works for me using the API http://test.geogebra.org/~m...


Please can you send a link to show the problem?

photo
1

Also http://test.geogebra.org/~m... is OK for me

photo
1

I have inserted the code on this page:

https://matematicas.educare...


<p>
<script src="https://www.geogebra.org/ap...; type="text/javascript"></script>
</p>
<div id="ggb-element"> </div>
<p>
<script type="text/javascript">var ggbApp = new GGBApplet({"appName": "graphing", "material_id":"wg3zneut","width": 675, "height": 417, "showToolBar": false, "showAlgebraInput": false, "showMenuBar": false }, true);
    window.addEventListener("load", function() { 
        ggbApp.inject('ggb-element');
    });</script>
</p>

photo
1

I have tried again -changing the app name to "classic"- and now the code works.


There is still some problem with activities created through eXeLearning GeoGebra iDevice. I think it uses a code similar to the one I pasted before, but I will try to check it

photo
1

OK, that's a different problem. We've removed some functionality from Graphing recently so changing everything to "classic" will be safer

photo
1

I am having a similar problem with the html applet integration with Canvas LMS. Applets that have been embedded throughout the course are now not working, so it would not be possible to fix each link one by one. Is there another solution.

photo
1

@C.J.Carlson: could you please share an example of embed code that you are using in Canvas?

photo
1

GeoGebra applets inserted using eXeLearning LMS seem to be working again. So, as far as I know (and need) the API, problems are fixed.

Thank you for being so fast.

photo
1

I'm having the same problem. Here is my embed code.

<meta name=viewport content="width=device-width,initial-scale=1"><script src="https://cdn.geogebra.org/ap... id="ggb-element"></div> <script> var ggbApp = new GGBApplet({"appName": "geometry","material_id":"m9tsyrwq", "width": 550, "height": 442, "showToolBar": false, "showAlgebraInput": false, "showMenuBar": false }, true); window.addEventListener("load", function() { ggbApp.inject('ggb-element'); });</script>

I changed the appName to classic and it seems to work for now. Super annoying because I have many of these to edit.

photo
© 2020 International GeoGebra Institute