Home › Forums › General Questions › Apps hosted on WordPress website suddenly have no interactivity
- This topic has 2 replies, 2 voices, and was last updated 2 years ago by
Brameister.
-
AuthorPosts
-
2024-06-21 at 9:25 pm #75202
Brameister
ParticipantHi 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?
2024-06-22 at 2:40 am #75228kdv
ParticipantPress 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.
2024-06-22 at 11:10 am #75506Brameister
ParticipantFor 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
