Posts by lerayfle

    Brilliant, thank you.
    I had some javascript eventlistener jamming my krpano keycode!

    I guess it could be better if krpano was using "key" and "code" instead of simply keycode, but if I'm the only one who is using both, no issue, you nailed it!
    - "code" is really nice for depthmap navigation for instance, physical position of keys is paramount to navigate properly on all keyboards
    - "key" is like keycode in krpano, great for text typing, because when you press a Q, you want a Q to be detected !

    Hi,

    QWERTY and AZERTY layouts for instance :
    - if in krpano you press the letter A on an Azerty keyboard, krpano sees it as keycode 65.
    - if in krpano you press the letter Q on a Qwerty keyboard, krpano sees it as keycode 65.
    So how can I know if the user has pressed A or Q?


    Javascript handles that with an additional "key" property since 2015
    - if you press the letter A on an Azerty keyboard, "key" will say "a" has been pressed
    - if you press the letter Q on a Qwerty keyboard, "key" will say "q" has been pressed
    Of course, IE11 doesn't support "key", but well, I'm ok with that.

    Hi,

    Have you tried getting the current scene name?

    Code
    set(currentscene, get(global.xml.scene) );
    If(currentscene.name == scene_1,
    ,
    )

    if you add an attribute to the scene something like

    Code
    <scene name="scene_1" ... linkedurl="https//demo1111.com"</scene>


    you could even define your hotspot like :


    Code
    <hotspot ...onclick="set(currentscene, get(global.xml.scene) ); openurl(get(currentscene.linkedurl));"

    (not tried it, just an idea)

    All I get is this error message:

    "Server Error in '/' Application.
    Runtime Error
    Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated."


    Remove the "." at the end of the url

    Check for a list of languages to manage on the net.
    When visits have dozens of different languages, I'm curious about the html.lang.en and html.lang.de proposed...

    We have around ten languages on our side, managed like this :
    <layer name="layer1" html="get:language[get(lang)].layer1_html" .../>

    <layer name="layer2" url="get:language[get(lang)].layer2_url" .../>

    <language name="en-UK" layer1_html="english html" layer2_url="english img" .../>
    <language name="en-US" layer1_html="US html" layer2_url="US img" .../>
    <language name="nl-BE" ..../>
    <language name="fr-FR" .../>
    <language name="fr-CA" .../>
    ...
    works kind of well with many languages.

    what is still not handled on our side is in case the layer1_html attribute is not filled in for a given language, there will be some empty string displayed. we thus need to be very rigourous in filling all <languages>. Actually, it would be nicer to define the fact en-UK is default and if no attribute layer1_html is found in language[nl-BE] then krpano would read layer1_html in the language[en-UK] node .

    Interested in the "attribute.variable" thing though, and better if it is not restricted to languages only (currently this attribute.variable is restricted to devices for instance), and if it is constantly assessed (should not require a reload).

    Florian



    Hi,

    I would like to popup some huge videos (like 250MB, 45minutes) in a krpano visit.

    How can I have something like the youtube buffer so that the user does not have to wait for the whole video to be downloaded? Idea is that as soon as 30secs of the video are downloaded, then the user could be able to see the beginning of the video.

    I have seen things like "multipart" but I do not know if that's the thing.

    Thanks in advance

    Florian

    kp.call("addhotspot(" + id + ")");
    var hs = kp.get("hotspot(" + id + ")"); or better: var hs = kp.hotspot.getItem(id);
    hs.html = "the documentation is great ;)";

    https://krpano.com/docu/plugininterface/#array

    but ok, to be fair, the fastest way is not really documented :

    var hs = kp.actions.addhotspot(id);
    hs.html = "the documentation is still great ;)";

    ;)

    Thanks, code will look so much cleaner with that fastest way!

    Hi,

    it's not about the videoplayer, it's about the rendering - currently always RGB instead of RGBA textures are used for videos to save GPU memory.

    There will be an option in the next release to tell the krpano viewer that the video has an alpha-channel (but keep in mind that such videos wouldn't work in iOS) and also other new options for transparent videos that will work everywhere.

    Best regards,
    Klaus

    This codepen (using a "transparent" mp4) seems to work on my iPhone (click [Play] to launch video), would it mean such videos can also work on iOS ? (I have an old iPhone, nothing like I can test all iOS versions see if it works)

    Florian

    I was expecting some kind of prototype. But no, you got it right from the start, even thinking about the "point of focus" vs "synchronized" aspect.
    Very very impressive.

    Does it rely on your server performance? like...what if someone decides to host 100 live presentations with hundreds of participants each time. Would your server or the one hosting the tour be impacted or is it just a matter of bandwidth on clients' device?


    Two things missing for it to be perfect to me :
    - a chatbox
    - a design configurator (color of buttons, logos, etc...)

    You still deserve an applause, this is really professionnal level.

    Florian