Posts by Leon

    Hello!

    In ios 12 apple introduced the pesky checkbox in settings for allowing device motion, which meant that we did not have any way but making the user go into settings and enabling this feature.

    But now in ios 13 they have removed that checkbox and now you have to ask permission for the different apis.

    i just tried 1.20 against ios 13 and it doesn't seem to ask for permission, so this is something that needs fixing.

    Something like this is needed


    if (typeof DeviceOrientationEvent.requestPermission === 'function') {
    document.body.addEventListener('click', function () {
    DeviceOrientationEvent.requestPermission()
    .then(function() {
    console.log('DeviceOrientationEvent, DeviceMotionEvent enabled');
    })
    .catch(function (error) {
    console.warn('DeviceOrientationEvent, DeviceMotionEvent not enabled', error);
    })
    }, {once: true});
    return;
    }

    Hi!

    At wec360° we are using your plugin to take screenshots

    I'm in the process of creating a backend service for saving our screenshots.

    I've implemented a google cloud function to handle the creation of the thumbnails instead of the php solution.
    I've done some reverse engineering and have been able to successfully save images using curl.

    But I've hit a couple of problems with how the plugin works.
    When I try to add my cloud function url to the external_php_server_path it appends .php at the end of the url which causes problems.

    my urls looks something like this:

    https://cloud.cloudfunctions.net/panoshot-save-screenshot


    but what is getting called is this

    https://cloud.cloudfunctions.net/panoshot-save-screenshot.php


    Also the plugin requires that the url that the php server returns should be relative to the plugin install dir.


    I would like to suggest a new feature that is more generic and can handle any backend server.

    save_snapshot_endpoint = https://cloud.cloudfunctions.net/panoshot-save-screenshot

    And that endpoint gets the image as a base64 encoded string and then returns a full url to the snapshot.
    that way I can save it to google storage and then return the google storage url.


    Do you think this would be doable?


    Kind regards
    Leon
    wec360.com

    Hi!

    I have a customer which has our krpano based viewer in an iframe on their homepage.

    http://kajkanten-limhamn.com/projekt/styrbord

    Sorry it's in swedish, but if you scroll down a little bit and click the link that says "UTSIKTER" you can see where our player is embedded.

    What you can see is that krpano doesn't load the scene properly, you can get it working by pressing the button at the bottom and choose a scene.

    It works as normal when access directly
    https://public.wec360.se/elfutveckling/…en1/vrleverans/


    My question is, how can I make krpano load the scene as normal, even though the iframe is hidden at start?

    The preview works great, on both ipad 1, iphone 4 and that is 320 x 1920 pixels.

    Is there somewhere I can find the maximum sizes the html5 player can take?
    or is it more about filesize?


    I guess I will just have to try increasing the size until it won't load.
    But some more info would be great!

    Hi!

    I've been using krpano with vcube (cubestrip) with a dimensions:
    preview: 320 x 1920
    big: 1024 x 6144
    mobile: 512 x 3072

    This works great with the flash player, but I'm having troubles with iPhone, iPad, it says Error: loading of my....url.jpg failed!

    My question is. what is a "normal" size of a vcube file, and why is it that the html5 player doesn't like my files. (is there a max size?)