Autorotate not functioning on mobile/tablet but OK on laptop?

  • Hi there
    I'm guessing something a bit daft but....


    Sorry forgot to include link...
    http://360hotel.co.uk/sandsAuto.php
    I have set this up from an existing krpano tour to load individual panos in a sequence

    <action name="startup">
    if(startscene === null, copy(startscene,scene[0].name));
    loadscene(get(startscene), null, MERGE,);
    action (move-4);
    </action>

    <action name="move-4">
    wait(20);
    loadscene(scene_LobbyAndBar ,null,MERGE,BLEND(2));
    action(move-5);
    </action>
    <action name="move-5">
    wait(20);
    loadscene(scene_RestDinner ,null,MERGE,BLEND(2));
    action(move-6);
    </action>

    etc... and looping


    and autorotate
    <autorotate enabled="true"
    waittime="0.3"
    speed="20.0"
    />

    to work as an effective looping (pseudo) video show...

    However it works fine on laptop but doesn't on mobile/tablet???? (the autorotae command is "global")
    Any thoughts or is it just my poor coding? *confused*

    Cheers
    Peter

    Edited once, last by Peter360: Sorry forgot to include link... 360hotel.co.uk/sandsAuto.php (September 4, 2014 at 10:47 AM).

  • 1. No need to have autorotate on scene onstart as it throws errors (see in your log)
    INFO: Registered to: Peter Ryder
    WARNING: unknown action: autorotate;
    WARNING: unknown action: autorotate;

    2. Don't know but this also can be problem:
    loadscene(get(startscene), null, MERGE,);
    Maybe this , after Merge is not correct. Or remove it or add BLEND...

Participate now!

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