You are not logged in.

1

Monday, April 23rd 2012, 3:04pm

Hello. Need help getting started geting tours to work on i pad/phone

Hello everybody,

Just registered here owing to there being no solution with flash panorama player to support panoramas on i devices.

To begin with I want my tours to run in in fpp as usual on non ios devices, and then if it detects an i device to run that version (I know there's a solution for that bit I'll worry about that later)

What Im most worried about at the moment is just getting get one of my tours working on an i device. Have downloaded viewer and tools but havent got a clue how to start.

Can somebody please give me a starting point

Thanks

Masten

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Monday, April 23rd 2012, 4:10pm

Once you purchase krpano with the Javascript License, the templates, default html are setup to do just this.
You can look at the examples provided in the viewer download package to see how the programming / xml works.
And check here.
http://krpano.com/docu/

Really, programming krpano or FPP are fairly similar but KRPano is about 3000% times more comprehensive / capable of much much more and no need for the type of plugins that FPP has to provide extra functionality due to its lack of the ability to use programming logic in the xml.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Saturday, April 28th 2012, 12:26pm

Hi Sacha

Ok, thanks for the info. That gives me some confidence in choosing this platform. I'll develop in krpano for now i pad/phone and continue using fpp for pc.

At some point though I can see I'll be switching to krpano for eveything especially with the use of a single xml file for both platforms

It's unbelievable that the development for I things isn't seen as priority over at fpp. Bizarre really

Anyway thanks

Masten

4

Friday, May 4th 2012, 7:23pm

Hi,
To begin with I want my tours to run in in fpp as usual on non ios devices, and then if it detects an i device to run that version (I know there's a solution for that bit I'll worry about that later)

you can use a simple Javascript check for the browser useragent for that,
when the useragent is iphone or ipad embed the krpano viewer and select the fpp,

e.g.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script src="swfkrpano.js"></script>
<script>
  var ua = String(navigator.userAgent).toLowerCase();  
  if(ua.indexOf("iphone")>=0 || ua.indexOf("ipod")>=0 || ua.indexOf("ipad")>=0)
  {
    // embedpano the krpano viewer (it will load the html5 viewer automatically here)
    embedpano({xml:"pano.xml", target:"panodiv"});
  }
  else
  {
    // put here your old fpp embedding code
    // ...
  }
</script>


best regards,
Klaus

Similar threads