![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<krpano version="1.20.11" title="Virtual Tour" logkey="true" debugmode="true" > <events name="test_events" keep="true" onmousewheel="test_onmousewheel()" /> <action name="test_onmousewheel"> trace('wheeldelta=', get(wheeldelta), ', wheeldelta_raw=', get(wheeldelta_raw), ', wheeldelta_touchscale=', get(wheeldelta_touchscale), ', device.touch=', get(device.touch)); </action> <preview type="grid(cube,32,32,512,0xCCCCCC,0xFFFFFF,0x999999);" /> </krpano> |
This post has been edited 1 times, last edit by "di0deman" (Aug 27th 2023, 5:03am)
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
<krpano version="1.20.11" title="Virtual Tour" logkey="true" debugmode="true" > <include url="skin/vtourskin.xml" /> <!-- customize skin settings: maps, gyro, webvr, thumbnails, tooltips, layout, design, ... --> <skin_settings maps="false" maps_type="google" maps_bing_api_key="" maps_google_api_key="" maps_zoombuttons="false" maps_loadonfirstuse="true" gyro="true" gyro_keeplookingdirection="false" webvr="true" webvr_keeplookingdirection="true" webvr_prev_next_hotspots="true" autotour="false" littleplanetintro="false" followmousecontrol="false" title="true" thumbs="true" thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160" thumbs_opened="false" thumbs_text="false" thumbs_dragging="true" thumbs_onhoverscrolling="false" thumbs_scrollbuttons="false" thumbs_scrollindicator="false" thumbs_loop="false" tooltips_buttons="false" tooltips_thumbs="false" tooltips_hotspots="false" tooltips_mapspots="false" deeplinking="false" loadscene_flags="MERGE" loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)" loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)" loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)" loadingtext="" layout_width="100%" layout_maxwidth="814" controlbar_width="-24" controlbar_height="40" controlbar_offset="20" controlbar_offset_closed="-40" controlbar_overlap.no-fractionalscaling="10" controlbar_overlap.fractionalscaling="0" design_skin_images="vtourskin.png" design_bgcolor="0x2D3E50" design_bgalpha="0.8" design_bgborder="0" design_bgroundedge="1" design_bgshadow="0 4 10 0x000000 0.3" design_thumbborder_bgborder="3 0xFFFFFF 1.0" design_thumbborder_padding="2" design_thumbborder_bgroundedge="0" design_text_css="color:#FFFFFF; font-family:Arial;" design_text_shadow="1" /> <!-- For an alternative skin design either change the <skin_settings> values from above or optionally include one of the predefined designs from below. --> <!-- <include url="skin/vtourskin_design_flat_light.xml" /> --> <!-- <include url="skin/vtourskin_design_glass.xml" /> --> <!-- <include url="skin/vtourskin_design_ultra_light.xml" /> --> <!-- <include url="skin/vtourskin_design_117.xml" /> --> <!-- <include url="skin/vtourskin_design_117round.xml" /> --> <!-- <include url="skin/vtourskin_design_black.xml" /> --> <style name="style_embeded_video" url.html5="%VIEWER%/plugins/videoplayer.js" url.flash="%VIEWER%/plugins/videoplayer.swf" edge="center" scale="1.0" rx="0" ry="0" rz="0" ox="0" oy="0" loop="true" pausedonstart="false" muted="true" /> <scene name="scene_plaza" title="plaza" onstart="" thumburl="panos/plaza.tiles/thumb.jpg" lat="" lng="" heading=""> <control bouncinglimits="calc:image.cube ? true : false" /> <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <preview url="panos/plaza.tiles/preview.jpg" /> <image> <cube url="panos/plaza.tiles/pano_%s.jpg" /> </image> <hotspot name="extract_vod01" style="style_embeded_video" videourl="videos/Apgujoeng_PlazaA_Krpano.mp4" videourl.mobile="videos/Apgujoeng_PlazaA_Krpano.mp4" posterurl="" distorted="true" width="1920" height="1080" scale="0.64" ath="90.287" atv="35.963" rotate="0" enabled="false" locked="true" zorder="1"/> <hotspot name="extract_vod02" style="style_embeded_video" videourl="videos/Apgujoeng_PlazaB_Krpano.mp4" videourl.mobile="videos/Apgujoeng_PlazaB_Krpano.mp4" posterurl="" distorted="true" width="1920" height="1080" scale="0.586" ath="-87.580" atv="36.009" rotate="0" enabled="false" locked="true" zorder="1"/> <hotspot name="extract_vod03" style="style_embeded_video" videourl="videos/Apgujoeng_PlazaC_Krpano.mp4" videourl.mobile="videos/Apgujoeng_PlazaC_Krpano.mp4" posterurl="" distorted="true" width="1920" height="1080" scale="0.52" ath="-178.453" atv="32.365" rotate="0" enabled="false" locked="true" zorder="1"/> <hotspot name="extract_vod04" style="style_embeded_video" videourl="videos/Apgujoeng_PlazaD_Krpano.mp4" videourl.mobile="videos/Apgujoeng_PlazaD_Krpano.mp4" posterurl="" distorted="true" width="1920" height="1080" scale="0.521" ath="-3.025" atv="30.654" rotate="0" enabled="false" locked="true" zorder="1"/> </scene> </krpano> |
This post has been edited 1 times, last edit by "di0deman" (Aug 27th 2023, 4:58am)
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
<scene name="pano1" title="Pano 1" onstart="" thumburl="panos/pano1.tiles/thumb.jpg" lat="" lng="" heading=""> <image> <preview url="panos/pano1.tiles/preview.jpg" /> <cube url="panos/pano1.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1152,2304" /> </image> <hotspot name="spot_01" title="Title 1" style="skin_hotspotstyle_test" ath="-46.359" atv="2.553" zorder="9" onhover="showtext('Text 1', STYLE_HOTSPOT);" /> </scene> <scene name="pano2" title="Pano 2" onstart="" thumburl="panos/pano2.tiles/thumb.jpg" lat="" lng="" heading=""> <image> <preview url="panos/pano2.tiles/preview.jpg" /> <cube url="panos/pano2.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1152,2304" /> </image> <hotspot name="spot_02" title="Title 2" style="skin_hotspotstyle_test" ath="-50.359" atv="2.553" zorder="9" onhover="showtext('Text 2', STYLE_HOTSPOT);" /> </scene> <view hlookat="50" fovtype="dfov" fov="120" /> <layer name="krpano1container" type="container" safearea="false" x="0%" width="50%" height="100%" maskchildren="true" enabled="false" zorder="0"> <layer name="krpano1" type="krpano" align="left" width="200%" height="100%" onloaded="krpano.actions.loadxml(('<krpano>' + scene[0].content + '</krpano>'),null,IMAGEONLY);" /> </layer> <layer name="krpano2container" type="container" safearea="false" x="50%" width="50%" height="100%" maskchildren="true" enabled="false" zorder="0"> <layer name="krpano2" type="krpano" align="right" width="200%" height="100%" onloaded="krpano.actions.loadxml(('<krpano>' + scene[1].content + '</krpano>'),null,IMAGEONLY);" /> </layer> |
This post has been edited 2 times, last edit by "pano_dave" (Jun 14th 2023, 3:34pm)
![]() |
Source code |
1 2 3 4 5 6 |
<image prealign="0|80|0"> ....... </image> <hotspot name="sbs" url="alphachannel_sbs.jpg" alphachannel="SBS" distorted="true" capture="false" ath="-15" prealign="true" scale="0.5" /> |
This post has been edited 2 times, last edit by "PanoramicWEB" (Jun 23rd 2023, 9:24pm)
This post has been edited 1 times, last edit by "worinima2128" (Jun 24th 2023, 5:14pm)
This post has been edited 3 times, last edit by "MANJAY" (Jun 27th 2023, 5:28am)
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<krpano version="1.20.11" title="Virtual Tour" logkey="true" debugmode="true" > <events name="test_events" keep="true" onmousewheel="test_onmousewheel()" /> <layer name="test_layer1" keep="true" type="image" url="0_6_0.jpg" children="false" onclick="trace('click test_layer1')" > <layer name="test_layer2" type="image" url="0_6_0.png" onclick="trace('click test_laye2')" /> </layer> <action name="test_onmousewheel"> trace('wheeldelta=', get(wheeldelta), ', wheeldelta_raw=', get(wheeldelta_raw), ', wheeldelta_touchscale=', get(wheeldelta_touchscale), ', device.touch=', get(device.touch), ', device.touchsupport=', get(device.touchsupport), ', device.mouse=', get(device.mouse)); </action> <preview type="grid(cube,32,32,512,0xCCCCCC,0xFFFFFF,0x999999);" /> </krpano> |
This post has been edited 1 times, last edit by "Eric Chen" (Aug 1st 2023, 11:06pm)
This post has been edited 2 times, last edit by "Douglas Rhiner" (Aug 17th 2023, 12:22am)
That's the most important part - what's about that socket_stage layer?set(layer[xplorit_conference].parent, layer[socket_stage]);
Note - teses checks are unnecessary, these are only checking if that object exists...if(layer[xplorit_conference],
![]() |
Source code |
1 |
display.layout.update(); |
This post has been edited 1 times, last edit by "Douglas Rhiner" (Sep 4th 2023, 12:17am)