Page 1 of 1

using different domains issue

Posted: Fri Mar 27, 2020 12:01 am
by Nathan
There is an issue that a client of ours has run into. I'm not sure I understand it completely. Hopefully someone can point me in the right direction. We have made a 360 tour for a client and they have handed it off to their web team. The web team has run into an issue and wrote this to us:

"Unfortunately, I've run into an issue that cannot be resolved due to browser security restrictions. Marketing Cloud is unable to support the features used on this page.
The VR images that are loaded into the page are using a feature of HTML 5 called "canvas". The Canvas has some security requirements that enforce the images to be loaded from the same domain as the page itself.
Marketing Cloud images are stored on a separate domain and security policies around this cannot be modified."

Does anyone know how to solve this and can point me in the right direction? Thank you for your help.

Re: using different domains issue

Posted: Fri Mar 27, 2020 3:21 pm
by 360Texas
Hi Nathan,

You may need to ask them what ERR message and ERR number they are reading when the fault occurs. I think this condition has already been answered here in the forum... now searching.

Background: Cross domain ERR is thrown when the tour is stored on one server and is trying to display on a different server.... it is a well known browser security feature. Keeps pirates from stealing web site content. I would not want anyone displaying my tours hosted on my server.... on the hackers server.

You might read this thread ... THOMAS comment

viewtopic.php?f=21&t=13636&p=57077&hili ... ERR#p57077

This is way beyond my knowledge but it might be worth looking at

https://www.google.com/search?rlz=1C1SQ ... ent=psy-ab

Re: using different domains issue

Posted: Fri Mar 27, 2020 4:07 pm
by Hopki
Hi,
Dave is correct the developers need to look at the CORS.
See https://en.wikipedia.org/wiki/Cross-ori ... ce_sharing
Regards,
Hopki

Re: using different domains issue

Posted: Fri Mar 27, 2020 8:50 pm
by Nathan
Thank you guys for all the information! We updated the output to allow for external embedding and sent it on for testing. I will update once I hear how the test went. Thank you again for all your help.

Nathan

Re: using different domains issue

Posted: Fri Mar 27, 2020 10:32 pm
by 360Texas
What works ... WORKS very well.