Wednesday, June 17, 2015

Play mp3 using java script

<!DOCTYPE html> <html> <body> <audio src="horse.mp3" id="mp3" preload="auto"></audio> <a href="javascript:play_single_sound();">Play 5-sec sound on single channel</a> <script type="text/javascript"> function play_single_sound() { document.getElementById('mp3').play(); } </script> </b...

Page 1 of 1212345Next