4 Replies Latest reply on Apr 4, 2016 9:29 AM by TomButler Branched to a new discussion.

    avalanche browser - problem playing sounds

    Rookie

      Hi,

      I'm trying to play a sound in my web application running on Intermec CN70e Avalanche browser. I am using standard javascript solution and it works on other browsers (IE, Firefox). The problem is it's not working on Avalanche browser.

       

       

      function EvalSound(soundobj) {

       

       

          var thissound= eval("document."+soundobj);

          try{

       

             thissound.Play();

         } catch(e){

       

               thissound.DoPlay();

       

          }

       

      }

      <embed autoplay="false" autostart="false" width="0" height="0" src="success3.wav" name="success" enablejavascript="true" readonly="readonly"/>

      This is how sound is played:

       

       

      EvalSound("success");

       

       

      Regards

      Jaroslaw