You are not logged in.

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.

1

Friday, October 25th 2013, 12:24am

How to embed virtual tour in WebView ?

I'm building a Windows 8 Store application in Visual Studio 2012 and trying to display a virtual tour in a WebView in the app. So far I can't get it to display and I think the problem is the links within the html and xml files (based on having a similar problem with other html files in another section of the app). I need to know the correct way to write the direct link. For example, in vtour.html I've got:

embedpano({ target: "panoDIV", xml: "index.xml" });
and
<embed src="index.xml" width="100%" height="100%"allowFullScreen="true"/>

and in index.xml I include index0.xml like this:
<include url="index0.xml"/>

Based on previous experience it should be something like this:

src="ms-appx-web:///Assets/kioskAppFiles/virtualtour/vtour.wdgt/index.xml"

but that doesn't seem to be correct, or it might just not be correct within embedpano and/or the include url.

Thanks in advance ...

This post has been edited 2 times, last edit by "LeeyaRay" (Oct 26th 2013, 7:29pm)