HTML Element (Construct 3 Plugins)

  • 18
    This content is deleted
    Extension
    HTML Element

    The power of the HTML5 inside Construct 3. Create HTMLElements, handle events and manage CSS style.

You're viewing a single comment in a conversation. View all the comments
  • 5 Comments

  • Order by
  • Ok, thanks.

    Try to guess:

    caniuse.com/mdn-html_elements_noscript

    You can use <noscript> only with iOS 14+

    • I know that might be the issue, that's why I only use default value and didn't change anything (which is only div tag, and no other properties), and still the game cannot load.

      It load perfectly when I remove HTMLElement completely from my project.

      • Thank for your help,

        Actually I only want to inform you about the error in iOS.

        But as I don't have any data regarding the issue, it will be an impossible task.

      • Without an error message log it is complicated to figure out where the problem is.

        If you just need to add a pixel you can try doing it directly on C3 without the need for specific plugins.

        You can add a script like this when starting the first layout:

        + System: On start of layout

        -> Run JavaScript: const noScript = document.createElement("noscript");

        const img =document.createElement("img");

        const yourPixelId = "abc"

        img.height = "1";

        img.width = "1"

        img.style.display = "none";

        img.src = `https://www.facebook.com/tr?id=${yourPixelId}&ev=PageView&noscript=1`;

        noScript.appendChild(img);

        document.body.appendChild(noScript);