April 6, 2025 at 9:55 PM #1 I'm trying to test locally a tour that needs to load a script from an https url, and this is failing.Is there any workaround?
April 7, 2025 at 8:10 PM #2 krpano 1.22 limited access to external URL'sTo load the script, you can use "sameorigin: false" on the HTML page where krpano is included, for example: Code <script> embedpano({xml:"tour.xml", bgcolor:"transparent", target:"pano", html5:"only", mobilescale:1.0, sameorigin:false, passQueryParameters:"startscene,startlookat"}); </script> More info: krpano.com - Documentation - Embedding into HTML
April 8, 2025 at 11:24 AM Official Post #3 Hi,are you using HTTPS also locally?If not, that could be also a Mixed-content problem...For enabling HTTPS in the krpano Testing Server please see here: krpano.com - Documentation - krpano Testing Server Best regards,Klaus
April 8, 2025 at 3:08 PM #4 Thanks Kris and Klaus.I have not enabled https on my local testing server, but may do so if I continue developing advanced features for krpano.