1 Reply Latest reply on Sep 29, 2011 12:35 AM by mara34

    audio in html

    mara34 Level 1

      just can't find a correct way to get audio in my mobile jquery website.

      It need to paly on the iphone and android phone


      Why does this not work?


      <audio controls>

                              <source src="http://www.w3schools.com/html5/song.ogg" type="audio/ogg" >

                              <source src="http://www.w3schools.com/html5/song.mp3" type="audio/mp3" >

                  <!-- Offer the audio file as a download for browsers that don't render HTML5 -->

                              <p>Download audio as <a href="http://www.w3schools.com/html5/song.ogg">OGG</a> or <a href="http://www.w3schools.com/html5/song.mp3">MP3</a>.</p>