2 Replies Latest reply: Feb 22, 2014 2:18 AM by uboss84 RSS

    audio don't start in static html

    uboss84 Community Member

      hi, i have done a index page with music that's starts in autoplay, it function at 100%, but when i public the page in static html audio dont's start automatically..why?

        • 1. Re: audio don't start in static html
          Peter Flynn (Adobe) Adobe Employee

          Does this problem happen if you open your index.html file directly in Chrome manually?  Or does it only happen when you view the page using the Live Preview feature in Edge Code?

           

          - Peter

          • 2. Re: audio don't start in static html
            uboss84 Community Member

            the problem happen when i open static index page in chrome and other browser, but autoplay only function in firefox...i have done 2 button to pause and resum audio..

            //code pausabutton

            sym.$("pausabutton").hide();

            sym.$("playbutton").show();

            // Sospendi la traccia audio.

            sym.$("musica")[0].pause();

             

            //code playbutton

            sym.$("playbutton").hide();

            sym.$("pausabutton").show();

            // Riproduci la traccia audio.

            sym.$("musica")[0].play();

             

            but if i don't convert code in static html it function in all browser