You are not logged in.

1

Sunday, October 27th 2013, 9:05pm

Sound starts paused on android

Hi, I have the sound loaded in onxmlcomplete using playsound(skin_sound, 'skin/music.mp3|skin/music.ogg', 0);".
Controlled with a button using onclick="pausesoundtoggle(skin_sound); switch(crop, 444|120|30|30, 414|120|30|30);"


It starts automatically on the PC flash, PC HTML5, iphone device, and ipad.

However, on android phones it starts paused, I have to physically click the sound button to make it unpause.

Although I only have in the code 1 extra section <krpano devices="mobile"> and it doesn't deal with the sound.

Any ideas?

2

Monday, October 28th 2013, 6:20pm

Hi,
what browser on android?
Please show the whole code.

3

Monday, October 28th 2013, 9:03pm

Hi,

that's normal - Android has the same limitations as iOS - there need to be a user-interaction to start a sound.
That means with the first touch (anywhere) the sound should start.

Best regards,
Klaus

Satya.Teja

Beginner

Posts: 6

Location: Planet Earth

Occupation: Web Developer

  • Send private message

4

Wednesday, April 11th 2018, 1:12pm

Hi,

that's normal - Android has the same limitations as iOS - there need to be a user-interaction to start a sound.
That means with the first touch (anywhere) the sound should start.

Best regards,
Klaus
Hey Klaus,

Is there any fix for this, meaning can we trigger audio on load of scene( on mobile devices).
Triggering the audio by touch is not a good experience, i'd like to keep it uniform on all devices.

Similar threads