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.

Iframe issue

Home Forums Programming Iframe issue

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43993
    Tan Keh Guan
    Customer

    Hi sir/mdm,

    The buttons inside which interact with 3d model lost function while embed in iframe. Is there any method to embed without losing button function?
    URL : https://allusionstudio.tech/demo/

    #43997

    Hello,

    If you check the browser console, it prints a cross-origin error.

    Uncaught DOMException: Permission denied to access property "document" on cross-origin object

    This is because your internal .html file is hosted on your server, while the external one is served from another domain. You should use relative paths for both .html files.

    Chief 3D Verger | LinkedIn | Twitter

    #43998
    Tan Keh Guan
    Customer
    #44007

    Edit: it appears now you missed the external .html file altogether. So there is no buttons at all.

    Chief 3D Verger | LinkedIn | Twitter

    #44023
    Tan Keh Guan
    Customer
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.