Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
![]() |
Source code |
1 |
embedpano({swf: this.tour.pano+"/tour.swf", xml: this.tour.pano+"/tour.xml", target:"pano", html5: "auto", onready: this.krpanoReady}); |
I did not change anything in your project. I just started the right HTML file and everything works.Hey, I have just mailed you the sample project files on the above email id.
This message is correct.The tour.html which is in vtour folder works fine, because that is generated by krpano tool. One step above, there is index.html (which I have created) where I want to embed the tour. In index.html tour showing up but the sound is not working. That is the issue. If you will open the index.html file you will see below error in console.
For embedding on other websites, use iframe and everything will work properly.Is this the ultimate solution for sound, when we embed vtour in some other html file (outside the file structure generated by the KRpano droplet ) ?
I guess it is related to security reasons.I tried using the iframe but the gyro stops working on iPhones. any workaround for that?