Embed code does not work
Submitted by Normski52 on Sun, 06/03/2018 - 01:37
Forums:
Hello. I created a dialog card and the embed iframe code worked well on another site. The display embed setting was set to 'only for editors'. I have since created an accordion, a true / false and another dialog card and the embed codes have not worked for any of them. The error message reads: 'content unavailable.' I have changed the display embed setting to 'always' but still the embed codes do not work. Please advise. Many thanks.
Normski52
Sun, 06/03/2018 - 01:48
Permalink
I should have added that I am
I should have added that I am using wordpress 4.9.6
BV52
Mon, 06/04/2018 - 09:01
Permalink
Hi Normski52,In order to give
Hi Normski52,
In order to give your bug report the best chance of getting answered, please include the following information:
The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!
-BV52
Normski52
Fri, 06/22/2018 - 20:23
Permalink
Hello BV2, Many thanks for
Hello BV2, Many thanks for your response.
1. I created a dialog card. The display embed setting is set to 'only for editors'. The error message reads: ‘content unavailable.'
2. Wordpress 4.9.6
3. Desktop
4. Error on both Chrome and Firefox
5. H5P 1.10.2
6. Dialog card
7. Not known
8. Not known
9. N/A
Many thanks
Normski52
icc
Thu, 06/07/2018 - 14:30
Permalink
Have you tried updating the
Have you tried updating the embed setting on each of the individual content?
Normski52
Thu, 06/07/2018 - 15:06
Permalink
Yes. I have tried that. Am I
Yes. I have tried that. Am I correct in thinking that the embed code will not work on wordpress unless <embed> is publicly viewable at the foot of the content?
icc
Fri, 06/22/2018 - 15:40
Permalink
That is correct. If you want
That is correct. If you want the embed code to still work after disabling the button you're going to have to add the following setting to your wp-config.php file:
Normski52
Fri, 06/22/2018 - 20:22
Permalink
Thank you icc
It's very kind of you to take the time to respond.
LANGCOM
Fri, 11/22/2019 - 01:27
Permalink
Same issue
Hi. I think I might be having the same proble. And I'm trying to apply the same solution. Just to check if I understood correctly. Setting Display Embed button to Always and adding the code to wp-config.pho will turn on Display Embed button for all h5p contents, even if it was previously disabled in either the individual content or in the H5P Settings page.
Looking forward to your reply.
and thanks for taking the time to respond.
LANGCOM
Fri, 11/22/2019 - 01:24
Permalink
Hi
Hi. I think I might be having the same proble. And I'm trying to apply the same solution. Just to check if I understood correctly. Setting Display Embed button to Always and adding the code to wp-config.pho will turn on Display Embed button for all h5p contents, even if it was previously disabled in either the individual content or in the H5P Settings page.
Looking forward to your reply.
LANGCOM
Fri, 11/22/2019 - 01:25
Permalink
Same issue
Hi. I think I might be having the same proble. And I'm trying to apply the same solution. Just to check if I understood correctly. Setting Display Embed button to Always and adding the code to wp-config.pho will turn on Display Embed button for all h5p contents, even if it was previously disabled in either the individual content or in the H5P Settings page.
Looking forward to your reply.
BV52
Fri, 11/22/2019 - 18:08
Permalink
Hi LANGCOM,I'll answer your
Hi LANGCOM,
I'll answer your question in 2 parts:
-BV
sandrad
Fri, 03/27/2020 - 20:54
Permalink
Same issue: can't embed iframe code in wordpress
My problem is that I am using wordpress within my work environment. I am not able to add plugins or any modifications at all. I have been creating the H5P content on my personal site, and then embedding it in my work site. This worked fine until the most recent update of WordPress, which seems to have disabled the ability to embed iframe code. I add the code to my text editor, and as soon as I update the post, the code is stripped from my document.
otacke
Fri, 03/27/2020 - 21:21
Permalink
Hi sandrad!Based on what you
Hi sandrad!
Based on what you are describing (general problems with iframe code), wouldn't it be better to ask for help in the WordPress forums?
I am running systems with WordPress 5.3.2 and 5.3.3(beta) and can't reproduce your problem on any of them (using the classic editor in text mode).
Best,
Oliver
telugu
Tue, 07/20/2021 - 11:10
Permalink
Embedding in Moodle Q and A forum
Hi Otacke,
I am using Moodle 3.10.5. Using the core option in Content bank created an Interactive video as a Teacher. I want to provide embed content type option and enabled it. But when I try to embed it in a Q and A forum of other course it is not displaying.
I gave Allowed sources as https://subdomain.domain.in/content/[id]/embed
Do I need to change this? Am I doing correct? Please help me understand the issue and solve it.
otacke
Tue, 07/20/2021 - 19:28
Permalink
Hi telugu!The moodle core
Hi telugu!
The moodle core integration of H5P was created by the moodle team (not by the H5P core team) and I am too busy to learn about all its peculiarities. I guess your best bet is to ask on the moodle forums.
Cheers,
Oliver