Random krpanoJS error on iPhone 3Gs

  • Hi,

    I get a Random krpanoJS error on iPhone 3Gs. I prepare all the panoramas the same way and upload them, use the same code/page to view them but some of them open in iPhone 3Gs, some other generate an error.
    I attach the error I get on the iPhone screen from some of them "bild.PNG".
    I also attach the screen shot from one of the panoramas that opens without any errors (image2.PNG)

    To generate the panorama I use the "MAKE PANO (NORMAL) droplet", and make 6 cube faces for the normal pano, 6 for iPhone and 6 for iPad.
    then use the html code to open and automatically detect which device it is opened on.

    Another old problem that I have is that the images that open have very poor quality on iPhone 3Gs:
    these are the parameters I use when generating the mobile device cubes
    buildmobileimages=auto
    buildmobileres=512
    buildtabletimages=auto
    buildtabletres=1024
    jpegquality=82
    jpegsubsamp=422
    jpegoptimize=true

    I attach the "image3.PNG" to show how the loaded panorama looks like on iPhone 3Gs when the icon on the lower right corner of the iPhone screen, used to switch between the open web pages, is pushed. Seems like that although using 512 for mobiles I get a far smaller image than what is required to fill the iphone screen and therefore a very poor quality as it has to be stretched to fill the screen.

    Thank you for your help.
    Mahmood

  • Thanks for the response Sasha.
    Hmmm,
    weird, the htmls are generated on the fly by PHP codes for all the panoramas,
    I wonder how come for some of them the iPhone is able to show the pano and for some other it cannot.

    Link for one that is shown is:
    http://www.stockholm360.net/fp.php?id=denon

    Link for one that is NOT shown is:
    http://www.stockholm360.net/fp.php?id=runsten

    Edited 3 times, last by mham (February 12, 2012 at 9:01 PM).

  • Hi,

    that's not a random reason - the reason is already shown in the error message, and this is correct - the xml parser of the browser had reported an xml parsing error,

    just try to open the xml directly in the browser and see the xml errors:
    http://www.stockholm360.net/xml/runsten.xml

    about 'poor quality' - I have answered that question in your other thread:
    Why different iPhone qualitly from cube vs multires

    best regards,
    Klaus

  • Thank you Klaus,
    It was the use of Character Entity references in the contents that caused the problem then, so annoying, they work in html but not in xml.
    Anyway, the problem is solved now.

    Thanks again,
    Mahmood

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!