Beiträge von Annicka

    Hello Felm and Calin-moyosa,

    I discovered the same problem with my Multires Panorama Tourand found a solution :)

    turns out you have to add the depthmap into each level, I assume when you use the short Multires syntax that the depthmap is only assigned to the last level and therefore that is the level which is used.

    So your code should look as follows:

    UPDATE!!
    Sorry I tested this again and it was just a fluke as it does not actually load/use the depthmap at all anymore. Which explains why the dynamic loading works again .-.

    Thank Piotr,
    Due to my client wanting to see if there was a way to embed the videos directly without the use of iframes, and without having to actually have to host the videos on our server, I wanted to see the possibilities.

    Seeing as I would have needed to develop a plugin for their media database we have instead settled on iframes instead ;)
    Thanks again for the help.
    Best regards,
    Annicka

    Hey Piotr,
    Thanks for the links. I looked into them and as far as I can see yes the youtube player uses an Iframe for one embed option, but for the flash version it just embeds it regularly.

    The thing I don't understand is how they make it work, since the user wouldn't have the actual files. Every time I try something like that my videos wont load I would like to avoid the use of an Iframe.

    I'd appreciate any advice or ideas.

    thanks in advance :)

    Annicka

    Hello everyone,
    I am currently trying to link videos hosted on a private database into a layer element in my krpano.


    I thought I could just link it similarly to how Klaus did in this forum post:

    https://krpano.com/forum/wbb/inde…37827#post37827

    Code
    <plugin name="youtube" url="http://www.youtube.com/v/7pyXV9lv3nY?version=3&autoplay=1&autohide=1&controls=0&loop=0&modestbranding=0&rel=0&showinfo=0"
    align="center"
    maskchildren="true"
    onloaded="registercontentsize(640,390);"
    /></plugin>


    But i discovered that this did not work. Though I also tried it the given example of Klaus and always get the error:

    loading of 'http://www.youtube.com...' failed!

    This is the same whether I use youtube or my own link, which goes something like this:

    url='https://raumerfinder.cdn.mediamid.com/resources/video7/video_embed.html?url=/cdnvidhls/video445294/5008800/video_config.json&autostart=false&defaultquality=high&mute={mute}&st={st}&skin={skin']https://raumerfinder.cdn.mediamid.com/resources/video7/video_embed.html?url=/cdnvidhls/video445294/5008800/video_config.json&amp;autostart=false&amp;defaultquality=high&amp;mute={mute}&amp;st={st}&amp;skin={skin}

    I know that I cant use the videoplayer plugin as the file format I am using isn't compatible, but does anyone know how I might get the video to show up and play as Klaus did for the youtube link?


    Thanks in advance and best regards,
    Annicka

    Hello,


    I am currently creating a Virtual Tour using a STL model for my depthmaprendermode.
    I have both Information hotspot and Floor hotspots in the tour that have a fixed tx, ty & tz value so that they always have the same position in the tour no matter what scene I am in.
    The Information hotspots are supposed to show a iframe when the user goes over the hotpsot, which is always in relation to the hotspot . I am currently really struggling to make this happen.


    Ultimately my goal is this:
    1. Have a hotspot that has a fixed 3D postion in my scene (managed this already)
    2. When I hover over this hotspot an iframe opens next to my hotspot (this kind of worked by making it a child of the hotspot, but it then messed up my hotspot position)
    3 When I move my viewport and look at the hotspot from a different angle I want to ensure the iframe would always appear in the viewport. Eg if the iframe where to normaly open on the right of the hotspot, it should open on to left if I change my view to a point where the hotspot is at the far right of the screen (this is for future development for me and doesn't have as much of a priority at the moment, though it would be nice to have User experience wise)

    This is the code I currently have:

    Code
    <layer name="iframe_Welcome" style="infospot" distorted="false" url="skin/transparent.png" keep="true" renderer="css3d" parent="hotspot[Station_welcome]" alpha="0.0" scale="0" onout=" tween(alpha,0.0); tween(scale, 0);"/> 
    <style name="infospot"	keep="true" type="container" url="skin/Icon_Krpano_Hotspot.png" scale="0.05" oversampling="2" mipmapping="true" depth="0" depthbuffer="true"	zorder="2" zoom="false" torigin="world" distorted="false" />
    <action name="add_iframe" type="Javascript"> var iframe = document.createElement("iframe"); iframe.style.position = "absolute"; iframe.style.left = 0; iframe.style.top = 0; iframe.style.width = "100%"; iframe.style.height = "100%"; iframe.style.border = 0; iframe.src = args[1]; caller.registercontentsize(args[2], args[3]); caller.sprite.appendChild(iframe); </action>

    all of my tx, ty & tz values come from my 3D model and I know my STL and scenes are configured correctly as I have generated the Floorspots without a problem.

    *UPDATE EDIT
    So I found out that the reason for the moving of the hotspot is due to renderer="css3d". But if i turn that to renderer="webgl" i get this error message: ERROR: add_iframe - TypeError: Cannot read property 'appendChild' of null.
    Does anyone know how to fix this?

    Would really appreciate some help on this.
    Thanks in advance :)


    Best regards,
    Annicka