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.
|
|
Quellcode |
1 |
<plugin name="soundinterface" url="plugins/soundinterface.swf" alturl="plugins/soundinterface.js" keep="true" preload="true" rootpath="" volume="1" onloaded=""/> |
|
|
Quellcode |
1 2 3 |
<scene name="estar"> <events name="scene2events" onxmlcomplete="playsound(scene2sound, %SWFPATH%/sounds/chovendo.ogg,1);" onremovepano="stopsound(scene2sound);" /> <preview url="%SWFPATH%/panos/estar_L.tiles/preview.jpg" /> <image stereo="true" stereolabels="L|R"> <cube url="%SWFPATH%/panos/estar_%t.tiles/pano_%s.jpg" /> <cube url="%SWFPATH%/panos/estar_%t.tiles/mobile_%s.jpg" devices="iOS" /> </image> <hotspot name="hall" style="btn_hall" ath="50" atv="0" rotate="0" depth="12000" onclick="goto(hall);" /> <hotspot name="jantar" style="btn_jantar" ath="125" atv="0" rotate="0" depth="12000" onclick="goto(jantar);" /> <hotspot name="cozinha" style="btn_cozinha" ath="100" atv="0" rotate="0" depth="12000" onclick="goto(cozinha);" /> <hotspot name="lavabo" style="btn_lavabo" ath="65" atv="0" rotate="0" depth="12000" onclick="goto(lavabo);" /> <hotspot name="suitemenina" style="btn_suitemenina" ath="-20" atv="-5" rotate="0" depth="12000" onclick="goto(suitemenina);" /> <hotspot name="suitemenino" style="btn_suitemenino" ath="-10" atv="5" rotate="0" depth="12000" onclick="goto(suitemenino);" /> </scene> |
|
|
Quellcode |
1 |
ERROR: soundinterface - loading of ./sounds/grande.ogg failed! |
Removal of dots may help
Zitat
./sounds/grande.ogg
|
|
Quellcode |
1 |
sounds/grande.ogg |
Quoted
./sounds/grande.ogg
Removal of dots may help
Source code
1
sounds/grande.ogg
Piotr
Same problem. Mine works fine on the Chrome using my desktop pc. But the sounds do not play automatically when I am using my smartphone. Why? Well, most of the time the sounds do not play in my smartphoneThanks Piotr,
I've tried it, replaced %SWFPATH%/sounds/file.ogg with just sounds/file.ogg, and no ./ appeared anymore, but the problem persisted.
What else could it be?
The complete tour.xml file is attached.
Quoted
./sounds/grande.ogg
Removal of dots may help
Source code
1
sounds/grande.ogg
Piotr
You can not get around this for security reasons and limiting of IOS system.Do you think you HTML 5 VR audio plugin would solve my problem?
Open this link on your devices and test it.It would be great if I could test it on my tour.
Still havent found the solution.
But I'm not using IOS whatsoever?Quoted from "augustommm"
Do you think you HTML 5 VR audio plugin would solve my problem?
You can not get around this for security reasons and limiting of IOS system.
I've tested it, worked fine. But it doesnt mean my approach will work.Quoted from "augustommm"
It would be great if I could test it on my tour.
Open this link on your devices and test it.
Quoted from "augustommm"
Still havent found the solution.
Again, my problem has nothing to do with touch screen. It's a failure on loadind the audio files (.ogg in this case). It shows a message of fail to load ***You cannot go around this issue. The user must touch the screen and then sounds begin to play.
Best Ragards
Thanks,Piotr

Zitat
I've tested it, worked fine. But it doesnt mean my approach will work.
By approach I mean the way I wrote my tour.xml file.AHA
So, the sound does not work on PC?
I never had such problems with the Klaus soundinterface plugin.
Zitat
I've tested it, worked fine. But it doesnt mean my approach will work.
I don't know how to help. What approach do you mean?
Piotr
|
|
Quellcode |
1 |
<events name="scene1events" onnewpano="playsound(scene1sound, 'sounds/night.ogg|sounds/night.mp3',1);" onremovepano="stopsound(scene1sound);" /> |
|
|
Quellcode |
1 |
<plugin name="soundinterface" url="plugins/soundinterface.swf" alturl="plugins/soundinterface.js" preload="true" /> |