Answers for "how to embed audio link to javascript"

1

how to embed audio in html

<audio controls>
  <source src="name.mp3" type="audio/mp3" />
</audio>
Posted by: Guest on May-06-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

Browse Popular Code Answers by Language