Embedded code not working

Margaret McKinley shared this question 3 years ago
Answered

I have been embedding Geogebra code for the past couple of weeks into Canvas using the HTML editor. The applets showed up for last weeks assignments and Now they are gone. When I look at the editing, the code is still there.


Has Geogebra changed sharing settings? Or do you have any idea as to why the embedded code isn't working in Canvas.

Comments (11)

photo
1

Are you able to send us a demo login to support@geogebra.org?

photo
1

Alternatively please share an example of the embed code you are using here

photo
1

Hi there, below is an embed code I am attempting to put into Canvas. When I input it into my html editor, all I'm seeing is the GeoGebra symbol with the spinning throbber symbol in my Canvas course:

<p><iframe style="border: 1px solid #e4e4e4;" src="https://www.geogebra.org/cl...; width="800" height="600" allowfullscreen="allowfullscreen"></iframe></p>

photo
1

I am having the same problem (Geogebra symbol spinning perpetually but not loading).

I have noticed that when I use the embed option (`?embed` appended to the URL ) as provided by GB it does NOT work (the spinning wheel).


<iframe src="https://www.geogebra.org/cl...; width="800" height="600" allowfullscreen style="border: 1px solid #e4e4e4;border-radius: 4px;" frameborder="0"></iframe>
However, if I edit the <iframe> to use just the link (i.e. I remove the `?embed` part) then the embedded app does work, though the sizing is very large. See the attached screenshot of the result both ways.

So something is going wrong with the `?embed`

photo
1

Yes, we'll fix that soon!

photo
photo
1

Hello!

I'm having the same problem that Jonathan reports using the embedded code. Yesterday the embedded code was working with no problems.

photo
1

I'm having the same problem with the embed code that Margaret mentioned. This was working fine before, but now the embed code doesn't produce anything in canvas. This is what I'm given to paste from Geogebra:

<p><iframe style="border: 0px;" title="Derivative at a Point" src="https://www.geogebra.org/ma...; width="800px" height="327px"> </iframe></p>

photo
1

This looks OK to me - what do you have in the browser's console?

<iframe style="border: 0px;" title="Derivative at a Point" src="https://www.geogebra.org/ma...;
width="800px" height="327px"> </iframe>

photo
1

So the problem looks like it is with Canvas. After switching to the HTML Editor mode and pasting the embed code from Geogebra, Canvas automatically puts in the <p> and </p> tags around the code when updating, making nothing show up.

photo
1

Actually still not working. If you enroll into this course here: https://smuhsd.instructure.... you cans see on the home page there should be something showing up, but nothing is showing up. This may be a Canvas issue:

photo
© 2023 International GeoGebra Institute