- 2020-05-22 at 2:52 pm #27904
Hello I recently deployed my application to your network and also tried deploying it to my own server. But whenever i hover over the asset I expect some tooltips to show which doesn’t show whenever it’s in an Iframe. How do I solve this problem. Thanks2020-05-25 at 8:21 am #27965
Some puzzles have an option called “in parent doc”, which needs to be enabled if you use a verge3d application in an iframe.
Attachments:You must be logged in to view attached files.
Co-founder and lead developer at Soft8Soft.2020-05-25 at 1:16 pm #279792020-05-26 at 8:19 am #28008
Hmm, on second thought, if the interface elements that your code tries to access are also inside the iframe then you don’t need to enable that “in parent doc” option.
Can you share a link to your app being embedded via an iframe?
Co-founder and lead developer at Soft8Soft.2020-05-26 at 1:56 pm #280322020-05-26 at 4:18 pm #28043
Ok, I tried to reproduce the issue and got several crashes related to the cross-origin policy. You are probably having the same issue if you embedded the page you linked into some application on your localhost.
Those crashes happen because some “bind” puzzles in your app use the “in parent doc” option. So, they try to access elements from the parent document and fail due to CORS restrictions.
I think you need to disable “in parent doc” in the “bind” puzzles to avoid that. And since they are used with the “popup” element, which is already inside the iframe’s document, they don’t need that option enabled.
Co-founder and lead developer at Soft8Soft.2020-05-26 at 5:54 pm #28045
Thanks so much. This solved my issues2020-05-27 at 7:13 am #28047
Co-founder and lead developer at Soft8Soft.
You must be logged in to reply to this topic.