- Posts: 28
How To / General
Issues getting Moodle to display in a wrapper
- ArchieBA
- Offline
- Junior Member
-
Less
More
8 years 7 months ago - 8 years 7 months ago #21
by ArchieBA
Replied by ArchieBA on topic Issues getting Moodle to display in a wrapper
So it seems to work... but I do get errors in the console.
but almost every thing is working.
I also see some warnings
There is one thing I did notice that is a little weird and doesn't work. When I would mouse over the bottom of the iframe, it would make it grow. At the bottom, you can see the moodle deconnection link. When I try to click it (the deconnexion, the profil or the language), it grows the iframe instead. That the only thing that doesn't seem to work. However, that is all I found. Anyway, hope this helps!
EDIT: btw tell me if I can do anything else. Cheers,
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided does not match the recipient window's origin
but almost every thing is working.
I also see some warnings
Warning: A single_select element was renderered, but the output is not displayed on the page.
There is one thing I did notice that is a little weird and doesn't work. When I would mouse over the bottom of the iframe, it would make it grow. At the bottom, you can see the moodle deconnection link. When I try to click it (the deconnexion, the profil or the language), it grows the iframe instead. That the only thing that doesn't seem to work. However, that is all I found. Anyway, hope this helps!
EDIT: btw tell me if I can do anything else. Cheers,
Last edit: 8 years 7 months ago by ArchieBA.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7906
8 years 5 months ago #22
by Antonio Durán
Replied by Antonio Durán on topic Issues getting Moodle to display in a wrapper
Again, sorry for the delay. Thank you very much for your feedback.
I set up a new installation to test this, and it seems to be working fine. I could not replicate the "growing" issue. But, even if I did, there is little I could do, as this is all handler by iframe-resizer library. Same thing for the warnings you shared.
Good thing is that it seems to be working well enough that I have integrated it to Joomdle, and it will appear in next release.
Thank you again for initiating this and following up.
I set up a new installation to test this, and it seems to be working fine. I could not replicate the "growing" issue. But, even if I did, there is little I could do, as this is all handler by iframe-resizer library. Same thing for the warnings you shared.
Good thing is that it seems to be working well enough that I have integrated it to Joomdle, and it will appear in next release.
Thank you again for initiating this and following up.
Please Log in or Create an account to join the conversation.
- Alex Chiou
- Offline
- New Member
-
Less
More
- Posts: 2
4 years 3 months ago #23
by Alex Chiou
Replied by Alex Chiou on topic Issues getting Moodle to display in a wrapper
Hi, Antonio:
My joomla 3.10.x + Moodle 3.9.x have issues in displaying Scorm and h5p activities in joomdle wrapper. I use two domains, one for joomla and the other for moodle. the error messages in the chrome browser console are as follows:
1. Failed to execute 'postMessage' on 'DOMWindow': The target origin provided (' xxx.com ') does not match the recipient window's origin (' yyy.com ').
iframeResizer.min.js:8
2.Refused to display ' xxx.com/ ' in a frame because it set 'X-Frame-Options' to 'sameorigin'. chromewebdata/:1
Please kindly let me know how to fix this problem of displaying SCORM and H5P activities in a joomdle wrapper.
My joomla 3.10.x + Moodle 3.9.x have issues in displaying Scorm and h5p activities in joomdle wrapper. I use two domains, one for joomla and the other for moodle. the error messages in the chrome browser console are as follows:
1. Failed to execute 'postMessage' on 'DOMWindow': The target origin provided (' xxx.com ') does not match the recipient window's origin (' yyy.com ').
iframeResizer.min.js:8
2.Refused to display ' xxx.com/ ' in a frame because it set 'X-Frame-Options' to 'sameorigin'. chromewebdata/:1
Please kindly let me know how to fix this problem of displaying SCORM and H5P activities in a joomdle wrapper.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7906
4 years 3 months ago #24
by Antonio Durán
Replied by Antonio Durán on topic Issues getting Moodle to display in a wrapper
Hi.
Did you allow frame embedding in Moodle?
Did you allow frame embedding in Moodle?
Please Log in or Create an account to join the conversation.