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.

problem with screenshot from html Created with Google Web Designer

Home Forums General Questions problem with screenshot from html Created with Google Web Designer

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28285
    marinourso
    Participant

    Hi, I have a problem, I created a configurator with a “screenshot” button i but it doesn’t work whit pc chrome browser, where am I wrong? Thanks

    (init enabled)

    Note: if I click the button “screenshot” from a smartphone or whit firefox browser, it works

    #28292

    hi,

    can you isolate this issue in a smaller project and attach it here?

    Chief 3D Verger | LinkedIn | Twitter

    #28294
    marinourso
    Participant

    thank you very much for your availability, I have attached a mini project that has the problem

    #28295
    marinourso
    Participant

    allegati

    #28309

    Hi,

    This is because you’re using an iframe component to load your scene. And google web designer puts some restrictions on what actions can be performed inside iframe documents, e.g. loading scripts, using html forms, downloading files, etc…

    GWD does that by default for security reasons, but since you’re loading your own html file (which you trust apparently) you can soften those restrictions.

    In order to do that you can just edit the file gwdiframe_min.js which is located inside your project’s directory. You need to find and delete the following part:

    
    this.a.setAttribute("sandbox","allow-same-origin allow-forms allow-scripts");
    

    Hope this helps!

    Co-founder and lead developer at Soft8Soft.

    #28321
    marinourso
    Participant

    thank you very much, it’s a fantastic experience to study verge

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