Answers for "javascript audio create new audio"

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
0

create audio tag javascript

document.getElementById('song').innerHTML = '<audio id="audio-player" controls="controls" src="media/Blue Browne.mp3" type="audio/mpeg">';
Posted by: Guest on September-08-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language