INFO: krpano 1.20.9 (build 2020-11-19)
INFO: HTML5/Desktop - Chrome 92.0 - WebGL
INFO: Registered to: macserialjunkie
ERROR: loadscene() - scene "null" not found
INFO: debug loadXML:<krpano version="1.19" basedir=""><scene name="ca8mpj2a3j50000f9grg" title="undefined" onstart="handleIvxEvent('onscenestart',ca8mpj2a3j50000f9grg)" thumburl="//file3.ih5.cn/v35/files/Sd16d448464a33e69c0b9e10ddd928e28_845_64_32.jpg" >
<plugin name="video_ca8mpj2a3j50000f9grg"
url.flash="https://file3.ih5.cn/v35/files/68f8166f1c3fa43aa26665c4b2d816d4_7456.swf"
url.html5="https://file3.ih5.cn/v35/files/7cbcff9743550f8c03e0886326f4cf7d_18928.js"
videourl="//file3.ih5.cn/v35/sta/u10072907/843a383b5276eb27fa1b70e703049c04_260986120.mp4|"
posterurl=""
panovideo="true"
pausedonstart="true"
loop="true"
volume="0.5"
onvideoready="handleIvxEvent('onvideoready','ca8mpj2a3j50000f9grg')"
onvideoplay="handleIvxEvent('onvideoplay','ca8mpj2a3j50000f9grg')"
onvideopaused="handleIvxEvent('onvideopaused','ca8mpj2a3j50000f9grg')"
onvideocomplete="handleIvxEvent('onvideocomplete','ca8mpj2a3j50000f9grg')"
onerror=""
/>
<data name="ca8mpj2a3j50000f9grg">ca8mpj2a3j50000f9grg</data>
<image hfov="360" vfov="180">
<sphere url="plugin:video_ca8mpj2a3j50000f9grg" />
</image>
</scene></krpano>
INFO: debug loadXML done:<krpano version="1.19" title="Virtual Tour">
<include url="skin/vtourskin.xml" />
<!-- <include url="//file2.ih5.cn/v35/files/ec7d293a503b57c318049afea48ad850_54565.xml" /> -->
<include url="skin/vtourskin_design_glass.xml" />
<!-- <include url="//file2.ih5.cn/v35/files/e162fcf2bec4aacdeac442296456f422_1895.xml" /> -->
<!-- startup action - load the first scene -->
<action name="startup" autorun="onstart">
if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
loadscene(get(startscene), null, MERGE);
if(startactions !== null, startactions() );
</action>
<autorotate enabled="false" waittime="1.5" accel="1.0" speed="5.0" horizon="0.0" tofov="off" zoomslowdown="true" interruptionevents="userviewchange|layers|keyboard" />
<action name="onstartact">
</action>
<action name="removeOriginScene">
if(get(scene['origin_scene'].name) != null,set(scene['origin_scene'].name,null);)
</action>
<action name="loadTargetXML">
<!-- 动态加载场景,会闪一下 -->
def(xmlcontent, string, get(xml.content));
trace('debug loadXML:',%1);
loadxml(%1,,KEEPALL);
trace('debug loadXML done:',xmlcontent);
loadxml(get(xmlcontent),,KEEPALL);
skin_addthumbs();
skin_onresize();
skin_updatescroll();
</action>
<action name="removeScene">
trace("receive removeScene","|",%1,"|",get(scene[%1].name));
skin_clearthumbs();
set(scene[%1].name,null);
skin_addthumbs();
skin_onresize();
skin_updatescroll();
</action>
<!-- 动态设置属性 -->
<action name="setProps">
<!-- 设置scene属性 -->
def(typecontent, string, get(%1));
txtreplace(tcontent,typecontent, 's_', '');
trace("trigger setProps1","|",%1);
trace("trigger setProps1","|",get(tcontent));
trace("trigger setProps1","|",tcontent);
trace("trigger setProps2","|",'%3');
trace("trigger setProps2","|",%2);
trace("trigger setProps3","|",%3);
trace("trigger setProps4","|",%4);
<!-- if(%1 == 'scene', set(scene[%2][%3],%4)); -->
</action>
<action name="keydown_event">
<!-- if(keycode == 107, js(testAddScene()) ); -->
</action>
<action name="onViewChange">
<!-- js(onViewChange()) -->
</action>
<events name="main_events" keep="true" onviewchange="onViewChange()" onkeydown="keydown_event();" />
<!--
<scene name="origin_scene" title="逢简水乡0875(补天) - 副本" onstart="" thumburl="panos/____________0875_____________-_______.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/____________0875_____________-_______.tiles/preview.jpg" />
<image>
<cube url="panos/____________0875_____________-_______.tiles/%s/l%l/%0v/l%l_%s_%0v_%0h.jpg" multires="512,1024,2176,4352,8704" />
</image>
</scene>
-->
<action name="handleIvxEvent">
js(onKrpanoEvent(%1,%2));
</action>
<action name="switchScene">
tween(depth|alpha|oy|rx, 4000|0.0|-50|-60, 0.5, default, loadscene(%1,null,get(skin_settings.loadscene_flags),get(skin_settings.loadscene_blend)); skin_updatescroll(); );
</action>
<action name="jslog">
js(onKrpanoEvent(%1));
</action>
<action name="ivx_littleplant">
set(view.fovmax, 170);
set(view.limitview, lookat);
lookat(calc(0 - 180), 90, 150, 1, 0, 0);
</action>
<action name="ivx_littleplant_tween">
set(control.usercontrol, off);
copy(view.limitview, %1);
tween(view.hlookat|view.vlookat|view.fov|view.distortion, calc('' + %2 + '|' + %3 + '|' + %4 + '|' + 0.0),
3.0, easeOutQuad,
set(control.usercontrol, all);
tween(view.fovmax, get(%5));
);
</action>
<!--
<action name="skin_setup_littleplanetintro">
copy(lp_scene, xml.scene);
copy(lp_hlookat, view.hlookat);
copy(lp_vlookat, view.vlookat);
copy(lp_fov, view.fov);
copy(lp_fovmax, view.fovmax);
copy(lp_limitview, view.limitview);
set(view.fovmax, 170);
set(view.limitview, lookto);
set(view.vlookatmin, 90);
set(view.vlookatmax, 90);
lookat(calc(lp_hlookat - 180), 90, 150, 1, 0, 0);
set(events[lp_events].onloadcomplete,
delayedcall(0.5,
if(lp_scene === xml.scene,
set(control.usercontrol, off);
copy(view.limitview, lp_limitview);
set(view.vlookatmin, null);
set(view.vlookatmax, null);
tween(view.hlookat|view.vlookat|view.fov|view.distortion, calc('' + lp_hlookat + '|' + lp_vlookat + '|' + lp_fov + '|' + 0.0),
3.0, easeOutQuad,
set(control.usercontrol, all);
tween(view.fovmax, get(lp_fovmax));
);
);
);
);
</action>
-->
<!-- 陀螺仪插件 -->
<!--
<plugin name="ivx_gyro" keep="true" url="//file3.ih5.cn/v35/files/ab31dd9c6a09797f4dd5903eeb6e27d1_12420.js" html5_url="//file2.ih5.cn/v35/files/ab31dd9c6a09797f4dd5903eeb6e27d1_12420.js" devices="html5" enabled="true" camroll="true" friction="0.8" sensor_mode="1" softstart="0.5" autocalibration="false" onavailable="jslog('陀螺仪可用')" onunavailable="jslog('陀螺仪不可用')"
onenable="jslog('启用陀螺仪')"
ondisable="jslog('禁用陀螺仪')" />
-->
<action name="resetGyro">
js(onKrpanoEvent('resetGyro',%1,%2));
plugin[ivx_gyro].resetsensor(%1);
</action>
<plugin name="ivx_gyro" keep="true" url="plugins/gyro2.js" html5_url="plugins/gyro2.js" devices="html5" enabled="false" camroll="true" friction="0.8" sensor_mode="1" softstart="0.5" autocalibration="true" onavailable="jslog('陀螺仪可用')" onunavailable="jslog('陀螺仪不可用')" onenable="jslog('启用陀螺仪')" ondisable="jslog('禁用陀螺仪')" />
<!-- <plugin name="ivx_gyro" keep="true" url="//file3.ih5.cn/v35/files/bbed5abc6baab3e6443f395220e58a57_13694.js" html5_url="//file3.ih5.cn/v35/files/bbed5abc6baab3e6443f395220e58a57_13694.js" devices="html5" enabled="false" camroll="true" friction="0.8" sensor_mode="1" softstart="0.5" autocalibration="true" onavailable="jslog('陀螺仪可用')" onunavailable="jslog('陀螺仪不可用')" onenable="jslog('启用陀螺仪')" ondisable="jslog('禁用陀螺仪')" /> -->
<contextmenu fullscreen="false" versioninfo="false" />
<events name="ivx_events" keep="true" onenterfullscreen="handleIvxEvent('onenterfullscreen')" onexitfullscreen="handleIvxEvent('onexitfullscreen')" onxmlcomplete="handleIvxEvent('onxmlcomplete')" onpreviewcomplete="handleIvxEvent('onpreviewcomplete')" onloadcomplete="handleIvxEvent('onloadcomplete')" onloaderror="handleIvxEvent('onloaderror')" onnewpano="handleIvxEvent('onnewpano')" onremovepano="handleIvxEvent('onremovepano')" onnewscene="handleIvxEvent('onnewscene')" onkeydown="handleIvxEvent('onkeydown')" onkeyup="handleIvxEvent('onkeyup')" onclick="handleIvxEvent('onclick')" onsingleclick="handleIvxEvent('onsingleclick')" ondoubleclick="handleIvxEvent('ondoubleclick')" onmousedown="handleIvxEvent('onmousedown')" onmouseup="handleIvxEvent('onmouseup')" onmousewheel="handleIvxEvent('onmousewheel')" oncontextmenu="handleIvxEvent('oncontextmenu')" onidle="handleIvxEvent('onidle')" onviewchange="handleIvxEvent('onviewchange')" onviewchanged="handleIvxEvent('onviewchanged')" onresize="handleIvxEvent('onresize')" onautorotatestart="handleIvxEvent('onautorotateStart')" onautorotatestop="handleIvxEvent('onautorotateStop')" onautorotateoneround="handleIvxEvent('onautorotateOneRound')" onautorotatechange="handleIvxEvent('onautorotateChange')" />
</krpano>
CLOSE
⇵
LAYERS
HOTSPOTS
PANO