Problem on HTML5 [NEED HELP!]

  • I erased all those " " but this didn't help either.
    Please, have a look again:

    http://www.marcolanciani.com/projects/brunamilani/studio/

    This works fine and at normal speed.
    Now, click on the arrow on the floor to go to the second pano: as you can see there are three (of 4) hotspot to magnify the pictures on the wall. Click to open... everything is working

    Now:

    http://www.marcolanciani.com/projects/bruna…ml?html5=always

    Everything goes slower. Going to the second pano is even slower and... those three hotspot on the wall are gone (apparently) away: they're there, just not visible. And, obviously clicking on them nothing happens.

    Any idea, how to solve this?

    *confused* *confused*

    Regards,

  • Hi,

    when I open the HTML5 version of your pano, I only see the following problem - controlling the pano is not possible...

    In the current version of the krpano HTML5 viewer empty textfields (with html="") are overlapping and blocking the viewer (even with visible=false) and this seems the problem here...

    Maybe try removing the 'url="plugins/textfield.swf"' part here - it's seems to wrong anyway because that element is also defined with 'type=container':
    <layer name="img_bg7181" url="plugins/textfield.swf" keep="true" type="container" ...

    Best regards,
    Klaus

  • Hi,

    removing "url=..." doesn't work.
    Removing all "type=container" it works partially.
    Here it is:

    http://www.marcolanciani.com/projects/bruna…ml?html5=always

    Going on the second pano, click the image-hotspot on the right to check: also, you might not be able to see the image-hotspot... try reloading the Virtual Tour
    (in Firefox you might still not be able to see them either. But they are there just not visible... you'll notice the cursore to change)

    Everything works fine in flash. The problem is only in HTML5.
    Maybe the problem is related to "textfield" usage in HTML5: any chance to build an info box using mostly textfield, on next release?

    The old HTML5 version is still active, just for comparison if needed:

    http://www.marcolanciani.com/projects/bruna…ml?html5=always

    Removing the "?html5=always" part, on both links, you'll get access to the Flash version where everything is working.

  • I give up for the moment: maybe it's a bug/limitation of Textfield and HTML5... I'll wait next KRPano release to check.
    Now, I have to update the online code with something working, so if someone still wants to play with this issue here's the code:
    (it works in Flash, DOESN'T work in HTML5)


    Regards,

  • Hi,

    yes, this is a bug in the current (1.0.8.15) html5 textfield - when initially invisible (visible=false), it will not work correct.
    In the next krpano release this will be fixed.

    As workaround you could use enabled="false" and alpha="0" instead of visible="false" to hide it, and for showing, set enabled="true" and alpha="1" to make it visible and controllable.

    Btw - using type="..." and url="..." together is (and keeps) WRONG!
    Also long as these settings are there, it will not work correctly - that means must be corrected first!

    Best regards,
    Klaus

Participate now!

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