Elgg Free HTML Widget

I don't know if I am facing the problem, or someone else with the Free HTML widget,

where I can't embed a code, nor can I put an iFrame code......

Is it not meant to display HTML codes...for whenever I write HTML code in the Source,

I continue to get the following error...

This widget is not yet configured

  • Have you enabled the plugin setting "Disable HTML filtering for Free HTML widgets on index (ADMIN ONLY)"

    and is the widget placed on an index page (not profile/dashboard/group)? If not it'll follow the normal HTML filtering rules and filter out dangerous code.

  • So it seems the Ckeditor was creating the problem.....

    So when I disabled the Ckeditor tag, the iframe was recognized, but I got the following issue

    https://photos.app.goo.gl/idYP9tthimkxUrdW8....

    where it refused to connect to the Website....

    And the code is basically a test code like this...

    <!DOCTYPE html>
    <html>
    <body>
     
    <h2>HTML Iframes</h2>
    <p>You can use the height and width attributes to specify the size of the iframe:</p>
     
    <iframe src="https://www.w3schools.com/html/html_iframe.asp&quot; height="200" width="300" title="Iframe Example"></iframe>
     
    </body>
    </html>
     
    And did you mean Index page as a Widget page, or its something else...For I did this in Widget Page...
     
    I am also having issues with CkEditor on oEmbed app, where I see if I share a video link in comment, it does nice embedding of the youtube video...
    But if I do that in a Blog, or if I do the same inside the Wire, with the Wire Tools plugin also installed - the embedding does not happen....
    Do I need to place the apps in certain configuration for this to work...  

      

  • When I try to click on the link you provided for the iframe I get an error page. That may be the cause. If you change the URL to https://www.w3schools.com/html/html_iframe.asp it should work.

    For the Free HTML widget all you need is the code:

    <h2>HTML Iframes</h2>
    
    <p>You can use the height and width attributes to specify the size of the iframe:</p>
    
    
    <iframe src="https://www.w3schools.com/html/html_iframe.asp" height="200" width="300" title="Iframe Example"></iframe>
  • I am also having issues with CkEditor on oEmbed app, where I see if I share a video link in comment, it does nice embedding of the youtube video...
    But if I do that in a Blog, or if I do the same inside the Wire, with the Wire Tools plugin also installed - the embedding does not happen....
    Do I need to place the apps in certain configuration for this to work...  
    If the editor converts a pasted link to a clickable link then the oembed will not work. Make sure that you remove the link in the editor so it's only text and not clickable.
  • Are you sure that code is working for you...

    Its still giving me the same error...

     

    Also it would be nice if the WireTools can do something like the oembed does, for youtube links...

  • Are you sure that code is working for you...

    Its still giving me the same error...

    No it's not working for mee in Firefox, because of the rules of w3schools

    Content-Security-Policy: The page's settings have blocked the loading of a resource (frame-ancestors) on <unknown> because it conflicts with the following directive: 'frame-ancestors 'self' https://mycourses .w3schools.com'