You are not logged in.

1

Friday, January 15th 2016, 8:25am

play video with sound in iPhone browser

I'm having problem with using sound in xml.
I used "soundinterface" plugin in the below code:

<plugin name="soundinterface"
url="%SWFPATH%/plugins/soundinterface.swf"
alturl="%SWFPATH%/plugins/soundinterface.js"
rootpath=""
preload="true"
keep="true"
/>

<!-- start playing the sound -->
<events name="currentpano"
onclick="playsound(bgsnd,'link', 1);"
onloadcomplete="stopsound(bgsnd);"
/>

It worked in virtual mobile browser. I thought "onclick" event didn't work in iOS because don't support JS.
I need your help! Thank you.

2

Tuesday, January 19th 2016, 9:49pm

Hi,

use krpano 1.19 and the videoplayer.js from here,

and then use:

Source code

1
videourl="video.mp4|audio.mp3"


See here:
http://krpano.com/plugins/videoplayer/#iphonepanovideo

Best regards,
Klaus