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.

Binded element to asset not showing in Iframe

Home Forums Puzzles Binded element to asset not showing in Iframe

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #27904
    Avatargr8temi
    Newbie

    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. Thanks

    #27965

    Hi,

    Some puzzles have an option called “in parent doc”, which needs to be enabled if you use a verge3d application in an iframe.
    in_parent_doc.png

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead developer at Soft8Soft.

    #27979
    Avatargr8temi
    Newbie

    I have done exactly that but still have the issue. Here is a screenshot of my puzzle, fullscreen and embedded iframe

    • This reply was modified 6 months ago by Avatargr8temi.
    Attachments:
    You must be logged in to view attached files.
    #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.

    #28032
    Avatargr8temi
    Newbie

    Here is the link varunasimba

    #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.

    #28045
    Avatargr8temi
    Newbie

    Thanks so much. This solved my issues

    #28047

    :good:

    Co-founder and lead developer at Soft8Soft.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.