- 2020-06-01 at 10:18 am #28285
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
Note: if I click the button “screenshot” from a smartphone or whit firefox browser, it works
- This topic was modified 1 month ago by marinourso.
Attachments:You must be logged in to view attached files.2020-06-01 at 2:40 pm #28292Yuri KovelenovDeveloper2020-06-01 at 4:15 pm #28294
thank you very much for your availability, I have attached a mini project that has the problem2020-06-01 at 4:17 pm #282952020-06-02 at 8:55 am #28309Ivan LyubovnikovDeveloper
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.jswhich is located inside your project’s directory. You need to find and delete the following part:123this.a.setAttribute("sandbox","allow-same-origin allow-forms allow-scripts");
Hope this helps!
Co-founder and lead developer at Soft8Soft.2020-06-02 at 10:51 am #28321
thank you very much, it’s a fantastic experience to study verge
- You must be logged in to reply to this topic.