We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Apps hosted on WordPress website suddenly have no interactivity

Home Forums General Questions Apps hosted on WordPress website suddenly have no interactivity

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #75202
    Brameister
    Participant

    Hi everyone,

    I’ve come across a weird issue all of a sudden and I can’t seem to figure it out.

    I’ve been running tests on apps hosted on a webpage host with no issues. The webpage is built on WordPress. I basically follow Soft8Soft’s tutorial on HTML-based interfaces, creating the interface on Elementor, then using the plugin “Export WP Page to Static HTML/CSS” to export the UI page as an index.html file plus the css, images and js folders. I then place all of these elements in my local app folder, create the puzzles, and then upload the entire app folder back to a wp-content/uploads/verge3d/ directory on the website’s host server.

    This process has worked perfectly until now.

    These days, however, I tried doing the exact same thing on another webpage also hosted in the same host, also using WordPress and also using Elementor. However, no matter what I do, after doing this entire process and opening the live webpage, the model loads correctly, but it does not have any interactivty, either with “when clicked” puzzles for the model itself and with “on the event of click” puzzles with parent HTML elements.

    That happens when I put the src https://www.domainname.com/wp-content/uploads/verge3d/app_name/app_name.html on the elementor HTML widget (as I had been doing so far with no problems). If I use the src https://www.domainname.com/wp-content/uploads/verge3d/app_name/index.html, then there is interactivity.

    I can’t figure out what happened here, since basically the only thing that changed is the domain name, because the host and the platforms used to build the page were all the same.

    What could I have missed here?

    #75228
    kdv
    Participant

    Press F12 and see the log.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #75506
    Brameister
    Participant

    For future reference and others who may stumble upon this issue, in my case, the issue was the “www” used in the src of the iframe. It was causing the browser to prompt cross-origin issues somehow.

    • This reply was modified 2 months, 2 weeks ago by Brameister.
    • This reply was modified 2 months, 2 weeks ago by Brameister.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.