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.
The soundinterface itself hadn't changed. Do you mean the same example had worked in 1.0.8.15 and now it not in 1.16.1?new version dont normal work playsound... new scene reload sound! anddont not continuing!
id verified.
If yes, please provide an 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 |
----------------------Load xml------------------
<krpano version="1.0.8" logkey="false" onstart="">
<events onxmlcomplete=""
onenterfullscreen=""
onexitfullscreen=""/>
<include url="index0.xml"/>
<include url="qtvr.xml" />
<plugin name="soundinterface"
url="soundinterface.swf"
keep="true"
preload="true"
rootpath=""
volume="1"
onloaded="" />
</krpano>
----------------------First pano xml------------------
<krpano version="1.0.8" onstart="playsound(osnov0,indexdata/sounds/sound0.mp3,0.0,0.0,loops);">
<events onxmlcomplete="" onloadcomplete=""/>
<control zoomtocursor="true" zoomoutcursor="false" />
<view fisheye="0" limitview="lookat" vlookatmin="-90" vlookatmax="90" fovmin="0.01" fovmax="179" fov="90" hlookat="-2" vlookat="0.0"/>
<autorotate horizon="0" tofov="90" speed="5"/>
<preview url="indexdata/index0/preview.jpg" />
<image type="CUBE" multires="true" tilesize="800" progressive="false">
<level tiledimagewidth="1600" tiledimageheight="1600">
<left url="indexdata/index0/l2_l_%0v_%0h.jpg" />
<front url="indexdata/index0/l2_f_%0v_%0h.jpg" />
<right url="indexdata/index0/l2_r_%0v_%0h.jpg" />
<back url="indexdata/index0/l2_b_%0v_%0h.jpg" />
<up url="indexdata/index0/l2_u_%0v_%0h.jpg" />
<down url="indexdata/index0/l2_d_%0v_%0h.jpg" />
</level>
</image>
<hotspot name="spot0" onclick="loadpano(index1.xml,null,MERGE,BLEND(1));pausesound(osnov0);resumesound(osnov0);" onover="set(blendmode,add);" onout="set(blendmode,normal);" handcursor="true" url="indexdata/graphics/spots/spot0.swf" onhover="showtext(zzzzz);" ath="454.576" atv="6.81462"/>
</krpano>
----------------------Pano 2 xml------------------
<krpano version="1.0.8" onstart="playsound(osnov0,indexdata/sounds/sound0.mp3,0.1,0.0,loops);">
<events onxmlcomplete="" onloadcomplete=""/>
<control zoomtocursor="true" zoomoutcursor="false" />
<view fisheye="0" limitview="lookat" vlookatmin="-90" vlookatmax="90" fovmin="0.01" fovmax="179" fov="90" hlookat="-30" vlookat="0.0"/>
<autorotate horizon="0" tofov="90" speed="5"/>
<preview url="indexdata/index1/preview.jpg" />
<image type="CUBE" multires="true" tilesize="800" progressive="false">
<level tiledimagewidth="1600" tiledimageheight="1600">
<left url="indexdata/index1/l2_l_%0v_%0h.jpg" />
<front url="indexdata/index1/l2_f_%0v_%0h.jpg" />
<right url="indexdata/index1/l2_r_%0v_%0h.jpg" />
<back url="indexdata/index1/l2_b_%0v_%0h.jpg" />
<up url="indexdata/index1/l2_u_%0v_%0h.jpg" />
<down url="indexdata/index1/l2_d_%0v_%0h.jpg" />
</level>
</image>
<hotspot name="spot0" onclick="loadpano(index0.xml,null,MERGE,BLEND(1));pausesound(osnov0);resumesound(osnov0);" onover="set(blendmode,add);" onout="set(blendmode,normal);" url="indexdata/graphics/spots/spot0.swf" onhover="showtext(zzzz);" ath="256.975" atv="9.16449"/>
</krpano>
|
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »mir-360« (3. April 2013, 08:29)
In the new version the onstart event of a xml file will be ALWAYS called now, regardless is if there are actions after the loadpano() call.mp3 reload always time! old version 1.0.8.15 krpano good work. new version no..
|
|
Quellcode |
1 2 3 |
<events name="startupevents" keep="true"
onxmlcomplete="playsound(...); set(events[startupevents].onxmlcomplete,null);"
/>
|
Then have you an old version of the swfkrpano.js or of the krpanoiphone.js file in your tools folder.ERROR: calling the kprotectcl tool failed!
Hi,
In the new version the onstart event of a xml file will be ALWAYS called now, regardless is if there are actions after the loadpano() call.mp3 reload always time! old version 1.0.8.15 krpano good work. new version no..
To call an start action only once, you need to use a separate event now,
e.g.
![]()
Quellcode
1 2 3<events name="startupevents" keep="true" onxmlcomplete="playsound(...); set(events[startupevents].onxmlcomplete,null);" />

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mir-360« (3. April 2013, 14:30)
thank you very much Klaus for your workings. please can you put a link of DONATE. because you are working to update your system and we paid only one time for your works. If you will put a "DONATE" link or button i think so many user will use that.
A question: are you still looking for a solution of "distorted hotspots parent child problem"
Best Regards and Congratulatitions to you.
Please create a separate thread and show the whole example there, it might require several changes and posts to discuss the required changes.Sry only i don't understand it... pls create example.
3 pano - one music
and 2-3 other music... and how in new version krpano create it!? not good news Klaus
Yes, of course, my todo-list is still extremely long.A question: are you still looking for a solution of "distorted hotspots parent child problem"
No, the included textfield.as source code is up-to-date!You forget to update the code source of textfield plugin in package.
The reason for this error is the default html5=prefer setting in the html file, which means that the krpano html5 viewer will be used by default, but Chrome (and IE10) don't allow loading local xml files in html5 by default.I get this error in Chrome:
Fatal Error:
tour.xml - loading not possible!
Error: NETWORK-ERR: XMLHttpRequest Exception 101
|
|
Quellcode |
1 |
--allow-file-access-from-files |
Secondly, yes, the cookie seems to be the problem. When the request is made with the new standards, the request header does not contain the cookie required for access to specific content, which in turn receives an error page (hence the text/html content type). So my question would be: how can I limit access without a cookie? or can the request be changed to contain the cookie needed? (or more specifically, make the CORS with user authentication enabled / disabled omit credentials flag ; or something like the withCredentials flag).And when I compare the http request headers between 4.0.0 and 4.0.1 in your link (with the Chrome Developer Tools) then I see only differences are this 'Origin' line and this cookie:
In the next release I will add a setting for either disabling the CORS usage for images or for setting a custom crossOrigin value to the images (e.g. 'use-credentials') instead the currently default 'anonymous'.Secondly, yes, the cookie seems to be the problem. When the request is made with the new standards, the request header does not contain the cookie required for access to specific content, which in turn receives an error page (hence the text/html content type). So my question would be: how can I limit access without a cookie? or can the request be changed to contain the cookie needed? (or more specifically, make the CORS with user authentication enabled / disabled omit credentials flag ; or something like the withCredentials flag).
That means your installed Standalone Flashplayer is too old.For some reason,. Swf files generated by v. 1.16.1 droplet does not appear in adobe bridge CS4 (error: Flash Player 10.1 or higher needed) Flash 11 installed. same panoramic image generated with v 1.0.8.1 droplet can be displayed without problems.
Any ideas as to what is wrong.
Sorry, but please describe your problem more detailed.Im getting just a black screen with the imagemap visible in my html version, doesn't throw up any errors in the console. The flash version works fine. Ive tried commenting out blocks of code but still nothing. Any ideas?
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.Im getting just a black screen with the imagemap visible in my html version, doesn't throw up any errors in the console. The flash version works fine. Ive tried commenting out blocks of code but still nothing. Any ideas?
Hi Klaus, I converted the swf & javascript files to the latest version and all I get is a blank screen in the HTML5 version but the flash version works fine. The HTML version worked ok in the previous version. Its strange as it loads an imagemap I have in it but nothing else. My file isn't encrypted either and the error console reports everything is loaded. Should I attach my xml to look at? Im on an Intel Mac, tested in firefox & safariSorry, but please describe your problem more detailed.