It works in usual mode in this browser, but when switching to iphone - i get message and sound doesn't work.
Zitat
WARNING: soundinterface - HTML5 audio is not supported by this browser!
|
|
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 |
<krpano version="1.0.8.14" onstart="startup();playMusic()">
<!-- vtour.xml template krpano tools version 1.0.8.14 -->
<action name="startup">
<!-- load the first scene -->
loadscene(get(scene[0].name), null, MERGE);
<!-- build thumbnails when there is more than one scene (remove the line below to remove the thumbnails) -->
if(scene.count GT 1, buildthumbs(); );
</action>
<!-- disable the default progress bar -->
<progress showload="none" showwait="none" />
<!-- hotspot styles (for Flash and HTML5) -->
<style name="hotspot_ani_white"
url="hotspots/hotspot_ani_white_64x64x20.png"
crop="0|0|64|64"
framewidth="64" frameheight="64" frame="0" lastframe="19"
onloaded="hotspot_animate();"
altonloaded="if(isphone, mul(scale,2)); onloaded();"
/>
<action name="hotspot_animate">
inc(frame,1,get(lastframe),0);
mul(ypos,frame,frameheight);
txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight));
delayedcall(0.03, if(loaded, hotspot_animate() ) );
</action>
<plugin name="soundinterface"
url="plugins/soundinterface.swf"
alturl="plugins/soundinterface.js"
keep="true"
preload="true"
/>
<action name="playMusic">
playsound('Music', 'buttons.mp3', loops='1')
</action>
<scene................>
|
Its strange, butHi,
what Safari version are you using?
Regarding to:
http://caniuse.com/#feat=audio
HTML5-Audio should be available since iOS 4.0 and Safari 5.0.
Best regards,
Klaus
Forget that page! That's just a stupid iframe with an iPhone layout aroundOh, i've just try to open a file in http://www.testiphone.com/ and it works!
.Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »lilxxl« (26. Juni 2012, 12:45)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.commaybe try that page (with the same user agent like when testing krpano):
http://html5test.com/#table-audio