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?

  • 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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!