Different iframe hotspot behavior in versions 1.20.11 and 1.21.2

  • Hi,

    Could someone please help me to fix this issue between krpano versions 1.20.11 and 1.21.2?

    I have a “relatively far” iframe hotspot with a webpage in it (zoom=”true”). In krpano version 1.20.11 this was functioning as expected, by width and height you define the resolution of the iframe hotspot and by scale its size (very small in my case). But in version 1.21.2 I am struggling and the iframe-d website is displayed in poor low resolution.

    Here is my XML hotspot code, you can try how it behaves differently with viewer versions 1.20.11 (this is the result I am aiming for) and 1.21.2. I haven’t found any info on this in the release notes.

    Code
    <krpano>
    	
    	<preview type="grid" />
    
    	<hotspot name="iframeweb01" type="iframe" ath="0" atv="0" width="1600" height="1200" scale="0.1" distorted="false" zoom="true" iframeurl="https://www.wikipedia.com/" renderer="css3d" capturewheel="true" />
    	
    </krpano>

    I would need to get this working (high resolution web viewing in hotspot) in version 1.21.2 because of the new functionalities.

    Many thanks in advance.

  • try adding scalemode="resize":

    Hi Klaus,

    thanks for your prompt reply, I've been trying to fiddle it with the scalemode, but unfortunately, it has no impact on it.

    See bellow - left version 1.21.2, right 1.20.11 (that's the appearance I am aiming for)

    Any other suggestions?

    BR

Participate now!

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