HTML5 - Playing Audio files tutorial?

JOHN PATTEN johnpatten at me.com
Fri Aug 25 14:06:57 EDT 2017


Hi All,

I have followed the tutorial here on playing audio files, http://lessons.livecode.com/m/4071/l/742506-how-do-i-play-sound-files-in-html5 <http://lessons.livecode.com/m/4071/l/742506-how-do-i-play-sound-files-in-html5>

I have tried with both a wav file, and a m4a.  Neither of them seem to play.

Do I have to “include" the file in the Standalone Settings configuration panel, or can I just add it to my HTML5 project folder?

Also, the audio tag,
  <audio id="myAudio">
    <source src="piano-melody.wav" type="audio/wav">
  </audio>

...that can go right before the ending /body tag?


Thank you!





More information about the Use-livecode mailing list