Hi all,
I have a tour set up on 'https://domain1.com/tour' but my pano assets are stored on 'https://domain2.com/panos/xyz123/...'. I have seen in some of the examples there are options to use different assets if the tour is accessed via different domains. e.g from 1 domain it uses 'x' assets and if not it uses 'y' assets.
ie in the Wine Cellar example
Code
<image>
<cube url="panos/mitte.tiles/pano_%s.jpg" if="browser.domain != 'krpano.com'" />
<cube url="https://krpano.com/tours/bkeller/panos/bkeller2010-mitte.tiles/pano_%s.jpg" if="browser.domain == 'krpano.com'" />
</image>
What would I need to put in my tour.xml to use different assets if the link I send out to a client (https://domain1.com/tour) is used in an iframe on https://domain3.com? Ideally, I'd like to block it from being used in an iframe but the .htaccess lines (on both domain1 and domain2) I have used aren't working.
Thanks