Solved) Backgroundsound html5, prefer - Google Chrome

  • Hello,

    I have a issue with backgroundsound- i can´t get it to play in Google Chrome on OSX.
    It work everywhere else, iOS, Android, flash, windows, mac.

    I use include in the start.xml and this is the code I use for the sound to play. I use mp3, .ogg, mp4, and Wav.
    I can´t figure why chrome wont play it..... EDIT: Reinstalled chrome without any change.
    Would love to hear any idéas. Anyone else having problems with sound, chrome, html5?

    All the best - Stefan


    <krpano>


    <plugin name="soundinterface"

    url="%SWFPATH%/plugins/soundinterface.swf"
    alturl="%SWFPATH%/plugins/soundinterface.js"
    rootpath="%SWFPATH%/bgsound"
    preload="true" keep="true"

    />

    <events name="currentpano" keep="true" onnewpano="playsound(bgsnd, 'elefantmix.mp3|elefantmix.ogg|elefantmix.mp4|elefantmix.wav', 1); set(events[currentpano].onnewpano,null); tween(soundinterface.volume,0.35,1.0);" />
    <events onremovepano=" tween(soundinterface.volume,0,2.0); " />

    </krpano>

    Best regards - Stefan

    Edited 3 times, last by Stefan.L (November 13, 2013 at 6:07 PM).

Participate now!

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