Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Just a black screen without anything is strange and shouldn't happen of course.This occurred to me when I encrypted the tour.xml file. (yes, I had the html5 box checked) Everything worked fine on desktops, but on any mobile device all I got was a black screen.
Here too - can you please show an example for this case?I solved the problem. I had preload="true" on a container which was doing it. Not sure why as it worked in the previous version but glad I found it. Thanks guys
Reusing existing config and template files should be no problem.How can i upgrade my current version from krpanotools-1.0.8.15-win64-2012-10-05 to krpanotools-1.16.1-win64 ?
I have lots of setting i have configured i don't have to think that i have to manually redo config all over again ?
Is this possible or how can i transfer my setting and custom config files to new version ?
Hey Klaus, I had a container layer at the start of my tour with language buttons like this:Here too - can you please show an example for this case?
I'm trying to reproduce such problem, but haven't found a not-working case yet... just preload=true itself should be not the problem...
|
|
Quellcode |
1 2 3 4 5 6 |
<layer name="intro_screen" type="container" parent="textbox" keep="true" align="center" x="2%" y="60%" width="450" height="90" preload="true" > <layer name="english_btn" url="%CURRENTXML%/skin/intro_buttons.png" keep="true" align="center" x="-150" y="0" crop="0|0|320|158" onovercrop="0|158|320|158" ondowncrop="0|158|320|158" ondown="set(language,english); set(layer[intro_screen].visible, false);" /> <layer name="irish_btn" url="%CURRENTXML%/skin/intro_buttons.png" keep="true" align="center" x="150" y="0" crop="320|0|320|158" onovercrop="320|158|320|158" ondowncrop="320|158|320|158" ondown="set(language,irish); set(layer[intro_screen].visible, false);" /> </layer> |
Hi Klaus.Hi,
Reusing existing config and template files should be no problem.How can i upgrade my current version from krpanotools-1.0.8.15-win64-2012-10-05 to krpanotools-1.16.1-win64 ?
I have lots of setting i have configured i don't have to think that i have to manually redo config all over again ?
Is this possible or how can i transfer my setting and custom config files to new version ?
The tools and the viewer should be still compatible.
Either just copy the config and templates from the old version to the new version,
or copy the new viewer (*.swf, *.js, plugins) and tools files from the new version to the old one.
Best regards,
Klaus
The krpano Update Tool is for updating old swf/js viewer files that have embedded data (like embedded licenses) - the tool will keep all the embedded data and should update the viewer itself in that files.I used your krpano update tool will that work as well ?
Were is the tools files ?
Okay,the problems seems to be related to the parent usage - can you please show also the declaration of the textbox element?
Zitat
Hey Klaus, I had a container layer at the start of my tour with language buttons like this:
<layer name="intro_screen" type="container" parent="textbox" keep="true" align="center" x="2%" y="60%" width="450" height="90" preload="true" >
...
It was ok in the flash version but in HTML it was just black until I removed preload=true. Strange I know...
Okay,the problems seems to be related to the parent usage - can you please show also the declaration of the textbox element?
|
|
Quellcode |
1 |
<layer name="textbox" type="container" align="center" x="0" y="0" width="90%" height="90%" zorder="99" scalechildren="true" bgcolor="0x111111" bgalpha="0" bgcapture="true" keep="true" > |
OK But were is the tools files ?Hi,
The krpano Update Tool is for updating old swf/js viewer files that have embedded data (like embedded licenses) - the tool will keep all the embedded data and should update the viewer itself in that files.I used your krpano update tool will that work as well ?
Were is the tools files ?
But that's not related to using config and templates file usage!
Were is the tools files ? AND could you tell me precisely what files i need to copy to update the old files,,,so your answers was so not clear.
Zitat
copy the new viewer (*.swf, *.js, plugins) and tools files from the new version to the old one.
Either replace the viewer files (swf, js) manually or use the krpano Update Tool.First, how do I upgrade my existing tours with krpano 1.16?
No, sorry, 'little planet ' works only when WebGL is available - and WebGL isn't available in iOS.Second, does the new version's HTML5 little planet support include iPads?
Hey Klaus I added preload="true" back into the layer and the error isnt happening anymoreThanks, but I'm unfortunately still not able to reproduce an example where I would get a black screen...
Can you please send me (privately) a link to the full example?
|
|
Quellcode |
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 |
<krpano version="1.16" title="Virtual Tour" onstart="startup();">
<include url="skin/vtourskin.xml" />
<!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? -->
<skin_settings bingmaps="false"
bingmaps_key=""
bingmaps_zoombuttons="false"
gyro="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"
tooltips_thumbs="false"
tooltips_hotspots="false"
tooltips_mapspots="false"
controlbar_offset="20"
/>
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<scene name="scene_01_koeln" title="01_koeln" onstart="" thumburl="panos/01_koeln.tiles/thumb.jpg" lat="" lng="" heading="">
[color=#ff0000] <plugin name="soundinterface" url="sound/soundinterface.swf" volume="1.0" keep="true" alturl="sound/soundinterface.js" onloaded="preloadsound(sound/sound.mp3); "/>
<plugin name="snd_start" zorder="5" url="buttons/soundonoff.png" align="leftbottom" x="16" y="160" alpha="1.0" scale="1.0" crop="0|50|50|50" onclick="playsound(sound,sound/sound.mp3,1); action(hide_start);"/>
<plugin name="snd_pause" zorder="4" url="buttons/soundonoff.png" align="leftbottom" x="16" y="160" alpha="0.0" scale="1.0" crop="0|0|50|50" onclick="pausesoundtoggle(sound); switch(crop, 0|0|50|50, 0|50|50|50);"/>
[/color]
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/01_koeln.tiles/preview.jpg" />
<image>
<cube url="panos/01_koeln.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/01_koeln.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_02_dortmund" title="02_dortmund" onstart="" thumburl="panos/02_dortmund.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/02_dortmund.tiles/preview.jpg" />
<image>
<cube url="panos/02_dortmund.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/02_dortmund.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
[color=#ff0000]<action name="hide_start">
tween(plugin[snd_start].alpha, 0.0);
set(plugin[snd_start].enabled,false);
set(plugin[snd_start].visible,false);
tween(plugin[snd_pause].alpha, 1.0);
set(plugin[snd_pause].enabled,true);
</action>[/color]
</krpano>
|
Flash or HTML5?Klaus, what am I doing wrong?
I used the code from below inside a scene in 1.15 but when I use the same code in 1.16.1 I get the error message "loading of sound/sound.mp3 failed"