Answers for "new Audio in js"

10

play audio in javascript

var audio = new Audio('audio_file.mp3');
audio.play();
Posted by: Guest on May-20-2020
1

js var audio = new audio

var myAudio = new Audio("myAudio.mp3");
myAudio.play();
Posted by: Guest on February-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language