• Hello.

    I'm experimenting with crossdomain.

    - an htacces was added to my server. (immo-virtueel.be)
    - I added the crossdomain.xml file with acces for servaasvanbelle.be

    XML
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    	<allow-access-from domain="http://www.servaasvanbelle.be" />
    </cross-domain-policy>

    I've created a simple test-tour with the latest krpano version and changed the locations of tour.swf and tour.js in my index.html page.

    Code
    <script src="http://www.immo-virtueel.be/cross/tour.js"></script>
    
    
    <div id="pano" style="width:100%;height:100%;">
    	<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
    	<script>
    		embedpano({swf:"http://www.immo-virtueel.be/cross/tour.swf", xml:"tour.xml", target:"pano", html5:"auto", mobilescale:1.0, passQueryParameters:true});
    	</script>


    http://servaasvanbelle.be/vtour/
    Works fine. *thumbsup*

    As it works fine I tried to adapt an older project by just changing the location of tour.swf and tour.js in my index.html page as above.
    http://servaasvanbelle.be/vk17/tour.html
    Does not work completely... *huh*

    Computer says :

    Code
    ERROR: hotspot[spot1] - loading of 'http://www.immo-virtueel.be/cross/hotspots/hs_boven.png' failed!  ERROR: plugin[spot_scene_keuken] - loading of 'http://www.immo-virtueel.be/cross/hotspots/mapspot.png' failed!  ERROR: plugin[spot_scene_badkamer] - loading of 'http://www.immo-virtueel.be/cross/hotspots/mapspot.png' failed!  ERROR: plugin[spot_scene_salon] - loading of 'http://www.immo-virtueel.be/cross/hotspots/mapspot.png' failed!  ERROR: hotspot[spot2] - loading of 'http://www.immo-virtueel.be/cross/hotspots/hs_boven.png' failed!  ERROR: plugin[showhidemap] - loading of 'http://www.immo-virtueel.be/cross/images/plan_toon_bis.png' failed!  ERROR: plugin[spot_scene_terras] - loading of 'http://www.immo-virtueel.be/cross/hotspots/mapspot.png' failed!  ERROR: http://www.immo-virtueel.be/cross/plugins/radar.js - loading failed! (0)  ERROR: plugin[map] - loading of 'http://www.immo-virtueel.be/cross/floorplans/0.png' failed!  ERROR: plugin[spot_scene_kamer_01] - loading of 'http://www.immo-virtueel.be/cross/hotspots/mapspot.png' failed!  ERROR: plugin[spot_scene_kamer_02] - loading of 'http://www.immo-virtueel.be/cross/hotspots/mapspot.png' failed!

    Can someone explain why the first example works and the second one doens't ? *cry*

    Thanks in advance ! *w00t*
    Servaas

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!