3 Replies Latest reply on Feb 11, 2015 4:28 PM by kglad

    Working with Audio in HTML5 Canvas document?

    Patrx77 Level 1

      Hi, all!

      I need some advice on controlling audio in an HTML5 interaction. There don't appear to be any "code snippets" to do with audio, and I need to create buttons that control the playback of an the sounds in the piece. I managed to track down some code that's allowed me to set up buttons to play and stop sounds.What I need to make is a start button that will play the sound, hide itself, show a stop button in its place, then, once the sound is over, show itself again and hide the stop button. What's the best way to arrange this?