+1 video html5 dont work
Posts by mir-360
-
-
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.
To call an start action only once, you need to use a separate event now,
e.g.
code dont workSry only i don't understand it... pls create example.
3 pano - one musicand 2-3 other music... and how in new version krpano create it!? not good news Klaus
.
-
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?
If yes, please provide an example.mp3 reload always time! old version 1.0.8.15 krpano good work. new version no...
Code
Display More----------------------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>
?
-
new version dont normal work playsound... new scene reload sound! anddont not continuing!
id verified.old version rkpano good work! new version no.
BUG?