osmica wrote:Uf, I understand just now that the code to publish the tour is now different. No available documentation yet. Now the SWF file is in the tourdata folder and out is only the HTML file. Which one of those files I need to add in the code?
I am not a web developer and others made my site. New tours doesn't work now on my site because the new tours have the SWF file in a subfolder now. I need to ask now my web master to change the code because it was automaticly set to play the swf file.
I will need to make changes.
Waiting for a replay!
Toni
<iframe width="560" height="315" src="YOUR_TOUR_URL" allowfullscreen></iframe>
<object height="100%" width="100%"><embed allowfullscreen="true" height="100%" src="http://www.8realestate.eu/MY_LOCATION /178virtual_tour.swf" width="100%"></embed></object>
osmica wrote:That is working for a virtual tour that is already loading. I want to know what damn code I need to load the tour first time on an URL.
In my case, with PTP 1.8 this code will work:
- Code: Select all
<object height="100%" width="100%"><embed allowfullscreen="true" height="100%" src="http://www.8realestate.eu/MY_LOCATION /178virtual_tour.swf" width="100%"></embed></object>
What code I need for PTP2? I tryed with this to load the SWF but it does not work as I explained before. How to publish the tour now?
osmica wrote:Forgeth the design. That doesn't metter now. I am using a customized Flynax software: http://www.flynax.com/
I have functions to create new URL (new pages). It was easy when I was using the code I mentioned for PTP 1.8 but now I don't know anymore what I need to do. I have stored my tour in a directory on my server and now I want to load it in the URL I have created. Do you understand me now?
And how would work that iFrame in my case. Look how my tours are loaded. They are in the ads and if I use iFrame for a listing, it will load the full ad and not just the tour. Look an example: http://www.8realestate.eu/stanovi-u-ist ... ?highlight
osmica wrote:OK, yes. How to load them in my ads is for Flynax support. I agree and I will do that.
But my question has nothing to do with that. I am creating virtual tours for other also. I was always uploading the tour (PTP1.8) on my server in some folder and others load them on their web sites using the code I gave them. What code they need to use now?
That tours will be only stored on my server. I am not stupid when I have instructions but they are missing for PTP2.
I was using this instructions for PTP 1.8 and had no problem with that to upload a tour and load it myself where I want:
PUBLISH A TOUR WITH WHICH THE RESOURCES ARE ON ANOTHER SERVER
If you need to display a virtual tour on a website and host the resource files on another server or at another place on the same server, you can use the base attribute to define where the resources are, as shown below.
<object width="100%" height="100%"> <embed src="http://WWW.MY-DOMAIN.COM/VIRTUAL_TOUR/MY-TOUR.SWF" base="http://www.SECOND-DOMAIN.COM/MY-TOUR-DATA/" width="100%" height="100%" allowFullScreen="true"> </embed> </object>
<iframe width="100%" height="100%" src="http://WWW.MY-DOMAIN.COM/VIRTUAL_TOUR/MY-TOUR.html" allowfullscreen></iframe>
<iframe width="100%" height="100%" src="http://www.8realestate.eu/premantura-munte/" allowfullscreen></iframe>
<iframe width="100%" height="100%" src="http://www.8realestate.eu/files/tours/ad178/178virtual_tourdata/178virtual_tour.swf" allowfullscreen></iframe>
<iframe width="100%" height="100%" src="http://www.8realestate.eu/files/tours/ad178/178virtual_tour.html" allowfullscreen></iframe>
benji33 wrote:It's a work in progress task.
If you only call the flash file only desktop computer will be able to read the tour. Moreover all externals plugins as floorplan, panoramaMenu, panotourMaps, webViewers are not available.
osmica wrote:benji33 wrote:It's a work in progress task.
If you only call the flash file only desktop computer will be able to read the tour. Moreover all externals plugins as floorplan, panoramaMenu, panotourMaps, webViewers are not available.
OK, I understand that. But what is the right way? As I told you, if I write the second code you told me, the system show me an undefined page. Nothing displays that way.
404 Not Found - http://www.8realestate.eu/premantura-munte/178virtual_tourdata/178virtual_tour_messages_en.xml"
ktools.I18N.getInstance().initLanguage('en', '178virtual_tourdata/178virtual_tour_messages_en.xml');
embedpano({
swf:"http://www.8realestate.eu/files/tours/ad178/178virtual_tourdata/178virtual_tour.swf"
,xml:"http://www.8realestate.eu/files/tours/ad178/178virtual_tourdata/178virtual_tour.xml"
,target:"panoDIV"
,passQueryParameters:true
,wmode:"opaque"
});
benji33 wrote:Try to replace embedpano javascript code into HTML main page with this code where xml url is added, i'll test it on iPad after this modification :
- Code: Select all
embedpano({
swf:"http://www.8realestate.eu/files/tours/ad178/178virtual_tourdata/178virtual_tour.swf"
,xml:"http://www.8realestate.eu/files/tours/ad178/178virtual_tourdata/178virtual_tour.xml"
,target:"panoDIV"
,passQueryParameters:true
,wmode:"opaque"
});
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%" id="http://www.8realestate.eu/files/tours/ad178/178virtual_tourdata/178virtual_tour">
Users browsing this forum: No registered users and 5 guests